gm

Time.gm(year) â timeTime.gm(year, month) â timeTime.gm(year, month, day) â timeTime.gm(year, month, day, hour) â timeTime.gm(year, month, day, hour, min) â timeTime.gm(year, month, day, hour, min, sec_with_frac) â timeTime.gm(year, month, day, hour, min, sec, usec_with_frac) â timeTime.gm(sec, min, hour, day, month, year, wday, yday, isdst, tz) â time Class Public methods Creates a Time object based on given values, interpreted as UTC (GMT). The year must be specified. Other values

each

rng.each {| i | block } â rngrng.each â an_enumerator Instance Public methods Iterates over the elements of range, passing each in turn to the block. The each method can only be used if the begin object of the range supports the succ method. A TypeError is raised if the object does not have succ method defined (like Float). If no block is given, an enumerator is returned instead. (10..15).each {|n| print n, ' ' } # prints: 10 11 12 13 14 15 (2.5..5).each {|n| prin

peeraddr

ipsocket.peeraddr([reverse_lookup]) => [address_family, port, hostname, numeric_address] Instance Public methods Returns the remote address as an array which contains address_family, port, hostname and numeric_address. It is defined for connection oriented socket such as TCPSocket. If reverse_lookup is true or :hostname, hostname is obtained from numeric_address using reverse lookup. Or if it is false, or :numeric, hostname is same as numeric_address. Or if it is nil or ommitte

each_entry

each_entry() Instance Public methods Iterates over the entries (files and subdirectories) in the directory, yielding a Pathname object for each entry.

newobj

newobj(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil) Class Public methods Alias for: new

selection_adjust

selection_adjust(index) Instance Public methods

explode

explode(slice, *args) Instance Public methods

convertible_int

convertible_int(type, headers = nil, opts = nil, &b) Instance Public methods Returns the convertible integer type of the given type. You may optionally specify additional headers to search in for the type. convertible means actually the same type, or typedef'd from the same type. If the type is a integer type and the convertible type is found, the following macros are passed as preprocessor constants to the compiler using the type name, in uppercase. TYPEOF_, followed by the

tosjis

Kconv.tosjis(str) => string Class Public methods Convert str to Shift_JIS

name=

name=( name ) Instance Public methods Sets the name and the expanded name