select

sdbm.select { |key, value| ... } â Array Instance Public methods Returns a new Array of key-value pairs for which the block returns true. Example: require 'sdbm' SDBM.open 'my_database' do |db| db['apple'] = 'fruit' db['pear'] = 'fruit' db['spinach'] = 'vegetable' veggies = db.select do |key, value| value == 'vegetable' end #=> [["apple", "fruit"], ["pear", "fruit"]] end

clear 2

clear() Instance Public methods

new

new() Class Public methods Creates a new stack frame

generate

DH.generate(size [, generator]) â dh Class Public methods Creates a new DH instance from scratch by generating the private and public components alike. Parameters size is an integer representing the desired key size. Keys smaller than 1024 bits should be considered insecure. generator is a small number > 1, typically 2 or 5.

verbose

verbose(value=nil) Instance Public methods Get/set the verbose flag controlling output from the FileUtils utilities. If verbose is true, then the utility method is echoed to standard output. Examples: verbose # return the current value of the # verbose flag verbose(v) # set the verbose flag to _v_. verbose(v) { code } # Execute code with the verbose flag set # temporarily to _v_. Return to the

sort

sort(*params, &b) Instance Public methods

apop?

apop?() Instance Public methods Does this instance use APOP authentication?

cget_tkstring

cget_tkstring(slot) Instance Public methods

_remove_tk_procs

_remove_tk_procs(*names) Instance Public methods

child_site_list

child_site_list() Instance Public methods