attributes=

attributes=(p1) Instance Public methods

front

front() Class Public methods Get the front object of the current server. This raises a DRbServerNotFound error if there is no current server. See current_server.

connection_id

connection_id() Instance Public methods

suspend_context

suspend_context(context) Instance Public methods Evaluates the given block using the given context as the Context.

tell

ARGF.tell â Integer Instance Public methods Returns the current offset (in bytes) of the current file in ARGF. ARGF.pos #=> 0 ARGF.gets #=> "This is line one\n" ARGF.pos #=> 17

to_sym

str.to_sym â symbol Instance Public methods Returns the Symbol corresponding to str, creating the symbol if it did not previously exist. See Symbol#id2name. "Koala".intern #=> :Koala s = 'cat'.to_sym #=> :cat s == :cat #=> true s = '@cat'.to_sym #=> :@cat s == :@cat #=> true This can also be used to create symbols that cannot be represented using the :xxx notation. 'cat and dog'.to_sym #=> :"cat and dog"

coerce

flt.coerce(numeric) â array Instance Public methods Returns an array with both aNumeric and flt represented as Float objects. This is achieved by converting aNumeric to a Float. 1.2.coerce(3) #=> [3.0, 1.2] 2.5.coerce(1.1) #=> [1.1, 2.5]

prefix

prefix() Instance Public methods BSTR prefix the prefix for the namespace applying to the node

activate

activate() Instance Public methods

reject

ary.reject {|item| block } â new_aryary.reject â Enumerator Instance Public methods Returns a new array containing the items in self for which the given block is not true. See also #delete_if If no block is given, an Enumerator is returned instead.