closed?

dbm.closed? â true or false Instance Public methods Returns true if the database is closed, false otherwise.

gcdlcm

int.gcdlcm(int2) â array Instance Public methods Returns an array; [int.gcd(int2), int.lcm(int2)]. 2.gcdlcm(2) #=> [2, 2] 3.gcdlcm(-7) #=> [1, 21] ((1<<31)-1).gcdlcm((1<<61)-1) #=> [1, 4951760154835678088235319297]

_strptime

DateTime._strptime(string[, format='%FT%T%z']) â hash Class Public methods Parses the given representation of date and time with the given template, and returns a hash of parsed elements. _strptime does not support specification of flags and width unlike strftime. See also strptime(3) and strftime.

method_missing

method_missing(id, *args) Class Public methods

new

new(*args) Class Public methods initialize(*args): *args: parameters

to_feed

to_feed(rss, channel) Instance Public methods

length

struct.length â fixnum Instance Public methods Returns the number of instance variables. Customer = Struct.new(:name, :address, :zip) joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) joe.length #=> 3

umask

File.umask() â integerFile.umask(integer) â integer Class Public methods Returns the current umask value for this process. If the optional argument is given, set the umask to that value and return the previous value. Umask values are subtracted from the default permissions, so a umask of 0222 would make a file read-only for everyone. File.umask(0006) #=> 18 File.umask #=> 6

items

items(pattern) Instance Public methods

tag_row_reset

tag_row_reset(*rows) Instance Public methods