最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
11件ヒット
[1-11件を表示]
(0.117秒)
トップページ
>
:
インスタンスメソッド
>
:
p
>
クラス:
DBM
>
:to_a
別のキーワード
_builtin to_s
openssl to_der
openssl to_s
_builtin to_a
openssl to_pem
ライブラリ
dbm
(11)
検索結果
先頭1件
DBM
#
to
_
a -> [Array]
DBM
#
to
_
a -> [Array]
(18115.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
キーと値のペアを配列に変換して返します。
...
キーと値のペアを配列に変換して返します。
require '
dbm
'
db1 =
DBM
.o
p
en('aaa.db', 0666,
DBM
::NEWDB)
db1[:a] = 'aaa'
db1[:b] = 'bbbbbb'
p
db1.
to_a
#=> [["b", "bbbbbb"], ["a", "aaa"]]
...