new

new(filename = DefaultFileName) Class Public methods Creates a new Resolv::Hosts, using filename for its data source.

read_s

read_s(name) Instance Public methods Read a REG_SZ(read_s), REG_DWORD(read_i), or REG_BINARY(read_bin) registry value named name. If the values type does not match, TypeError is raised.

new

new(*requirements) Class Public methods Constructs a requirement from requirements. Requirements can be Strings, Gem::Versions, or Arrays of those. nil and duplicate requirements are ignored. An empty set of requirements is the same as ">= 0".

columnconfiginfo

columnconfiginfo(master, index, slot=nil) Class Public methods

item_lastchild

item_lastchild(parent, child=nil) Instance Public methods Also aliased as: item_last_child

check_closed

check_closed() Instance Public methods Raises IOError if the TarWriter is closed

to_s

true.to_s â "true" Instance Public methods The string representation of true is âtrueâ. inspect

add

add(w, keys={}) Instance Public methods

to_time

to_time(form = :local) Instance Public methods Converts a Date instance to a Time, where the time is set to the beginning of the day. The timezone can be either :local or :utc (default :local). date = Date.new(2007, 11, 10) # => Sat, 10 Nov 2007 date.to_time # => Sat Nov 10 00:00:00 0800 2007 date.to_time(:local) # => Sat Nov 10 00:00:00 0800 2007 date.to_time(:utc) # => Sat Nov 10 00:00:00 UTC 2007

add_expr

add_expr(src, code, indicator) Instance Public methods Erubis toggles <%= and <%== behavior when escaping is enabled. We override to always treat <%== as escaped.