Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library dbm > class DBM > shift

instance method DBM#shift

shift -> String

データベース中の要素を一つ取り出し、データベースから削除します。