14件ヒット
[1-14件を表示]
(0.181秒)
検索結果
先頭5件
-
YAML
:: DBM # each _ pair {|key , val| . . . } -> YAML :: DBM (63907.0) -
自身のキーと値を引数としてブロックを評価します。
自身のキーと値を引数としてブロックを評価します。
自身を返します。 -
DBM
# each _ pair {|key , value| . . . } -> self (54607.0) -
各要素に対するイテレータ。
各要素に対するイテレータ。 -
GDBM
# each _ pair {|key , value| . . . } -> self (54607.0) -
各要素に対するイテレータです。
各要素に対するイテレータです。 -
SDBM
# each _ pair {|key , value| . . . } -> self (54607.0) -
各要素に対するイテレータ。
各要素に対するイテレータ。 -
SDBM
# replace(other) -> self (27412.0) -
self の内容を other の内容で置き換えます。
self の内容を other の内容で置き換えます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'sdbm'
db1 = SDBM.open('aaa.gdbm', 0666)
db1['a'] = 'aaa'
db1['b'] = 'bbb'
db1['c'] = 'ccc'
db2 = SDBM.open('bbb.gdbm', 0666)
db2['c'] = 'ccc'
db2['d'] = 'ddd'
hash = { 'x' => 'xxx', 'y' => 'y... -
GDBM
# replace(other) -> self (27394.0) -
self の内容を other の内容で置き換えます。
self の内容を other の内容で置き換えます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'gdbm'
db1 = GDBM.open('aaa.gdbm', 0666, GDBM::NEWDB)
db1['a'] = 'aaa'
db1['b'] = 'bbb'
db2 = GDBM.open('bbb.gdbm', 0666, GDBM::NEWDB)
db2['c'] = 'ccc'
db2['d'] = 'ddd'
hash = { 'x' => 'xxx', 'y... -
DBM
# replace(other) -> self (27322.0) -
self の内容を other の内容で置き換えます。
self の内容を other の内容で置き換えます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'dbm'
db1 = DBM.open('aaa.db', 0666, DBM::NEWDB)
db1[:a] = 'aaa'
db1[:b] = 'bbbbbb'
db2 = DBM.open('bbb.db', 0666, DBM::NEWDB)
db2[:bb] = 'bbb'
db2[:cc] = 'ccc'
p db1.keys #=> ['b', 'a']
... -
SDBM
# update(other) -> self (18730.0) -
self と other の内容をマージします。
self と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'sdbm'
db1 = SDBM.open('aaa.gdbm', 0666)
db1.clear
db1['a'] = 'aaa'
db1['b'] = 'bbb'
db1['c'] = 'ccc'
db2 = SDBM.open('bbb.gdbm', 0666)
db2.clear
db2['c'] = 'ccc'... -
DBM
# update(other) {|key , value| . . . } -> self (18622.0) -
self と other の内容をマージします。
self と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'dbm'
db1 = DBM.open('aaa.db', 0666, DBM::NEWDB)
db1[:a] = 'aaa'
db1[:b] = 'bbbbbb'
db2 = DBM.open('bbb.db', 0666, DBM::NEWDB)
db2[:bb] = 'bbb'
db2[:cc] = 'ccc'
... -
GDBM
# update(other) -> self (18622.0) -
self と other の内容をマージします。
self と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。 -
YAML
:: DBM # each -> YAML :: DBM (18607.0) -
自身のキーと値を引数としてブロックを評価します。
自身のキーと値を引数としてブロックを評価します。
自身を返します。 -
DBM
# each {|key , value| . . . } -> self (9307.0) -
各要素に対するイテレータ。
各要素に対するイテレータ。 -
GDBM
# each {|key , value| . . . } -> self (9307.0) -
各要素に対するイテレータです。
各要素に対するイテレータです。 -
SDBM
# each {|key , value| . . . } -> self (9307.0) -
各要素に対するイテレータ。
各要素に対するイテレータ。