to_a

enum.to_a â array Instance Public methods Returns an array containing the items in enum. (1..7).to_a #=> [1, 2, 3, 4, 5, 6, 7] { 'a'=>1, 'b'=>2, 'c'=>3 }.to_a #=> [["a", 1], ["b", 2], ["c", 3]]

Raise 2

Raise(err = nil, *rest) Instance Public methods Fail(err, *rest) err: exception rest: message arguments Fail fail

base

base(href = "") Instance Public methods Generate a Document Base URI element as a String. href can either by a string, giving the base URL for the HREF attribute, or it can be a has of the element's attributes. The passed-in no-argument block is ignored. base("http://www.example.com/cgi") # => "<BASE HREF=\"http://www.example.com/cgi\">"

pos

dir.pos â integer Instance Public methods Returns the current position in dir. See also Dir#seek. d = Dir.new("testdir") d.tell #=> 0 d.read #=> "." d.tell #=> 12

to_feed

to_feed(*args) Instance Public methods

password_confirmation=

password_confirmation=(unencrypted_password) Instance Public methods

new

new(dep) Class Public methods

assign_names

assign_names(members) Instance Public methods Set the names of the members in this C struct

deep_dup

deep_dup() Instance Public methods Returns a deep copy of object if it's duplicable. If it's not duplicable, returns self. object = Object.new dup = object.deep_dup dup.instance_variable_set(:@a, 1) object.instance_variable_defined?(:@a) # => false dup.instance_variable_defined?(:@a) # => true

resolve_args

resolve_args(args) Instance Public methods Resolve the arguments for a task/rule. Returns a triplet of [task_name, arg_name_list, prerequisites].