-

sub(value, digits) Instance Public methods Subtract the specified value. e.g. c = a.sub(b,n) c = a - b digits If specified and less than the number of significant digits of the result, the result is rounded to that number of digits, according to ::mode.

[]=

sdbm[key] = value â value Instance Public methods Stores a new value in the database with the given key as an index. If the key already exists, this will update the value associated with the key. Returns the given value.

toggle

toggle() Instance Public methods def create_self(keys) if keys and keys != None tk_call_without_enc('checkbutton', @path, *hash_kv(keys, true)) else tk_call_without_enc('checkbutton', @path) end end private :create_self

base64digest

base64digest(str = nil) Instance Public methods If none is given, returns the resulting hash value of the digest in a base64 encoded form, keeping the digest's state. If a string is given, returns the hash value for the given string in a base64 encoded form, resetting the digest to the initial state before and after the process. In either case, the return value is properly padded with '=' and contains no line feeds.

gen_url

gen_url(url, text) Instance Public methods Generates links for rdoc-ref: scheme URLs and allows RDoc::Markup::ToHtml to handle other schemes.

block_length

digest.block_length â integer Instance Public methods Returns the block length of the digest algorithm, i.e. the length in bytes of an individual block. Most modern algorithms partition a message to be digested into a sequence of fix-sized blocks that are processed consecutively. Example digest = OpenSSL::Digest::SHA1.new puts digest.block_length # => 64

reorganize

gdbm.reorganize â gdbm Instance Public methods Reorganizes the database file. This operation removes reserved space of elements that have already been deleted. It is only useful after a lot of deletions in the database.

+

add(value, digits) Instance Public methods Add the specified value. e.g. c = a.add(b,n) c = a + b digits If specified and less than the number of significant digits of the result, the result is rounded to that number of digits, according to ::mode.

marquee_anchor

marquee_anchor(*args) Instance Public methods

scan_dragto

scan_dragto(x, y) Instance Public methods