getc

ios.getc â string or nil Instance Public methods Reads a one-character string from ios. Returns nil if called at end of file. f = File.new("testfile") f.getc #=> "h" f.getc #=> "e"

+

ary + other_ary â new_ary Instance Public methods Concatenation â Returns a new array built by concatenating the two arrays together to produce a third array. [ 1, 2, 3 ] + [ 4, 5 ] #=> [ 1, 2, 3, 4, 5 ] a = [ "a", "b", "c" ] a + [ "d", "e", "f" ] a #=> [ "a", "b", "c", "d", "e", "f" ] See also #concat.

each

ary.each { |item| block } â aryary.each â Enumerator Instance Public methods Calls the given block once for each element in self, passing that element as a parameter. An Enumerator is returned if no block is given. a = [ "a", "b", "c" ] a.each {|x| print x, " -- " } produces: a -- b -- c --

parse

parse(str) Class Public methods

>

> source Instance Public methods Outputs from source, which is either a string of a file name or an IO object.

finished?

finished?() Instance Public methods Returns true if any thread has terminated and is ready to be collected.

null?

null? Instance Public methods Returns true if this is a null pointer.

new

new(*threads) Class Public methods Creates a ThreadsWait object, specifying the threads to wait on. Non-blocking.

documented?

documented?() Instance Public methods Does this class or module have a comment with content or is received_nodoc true?

marked_for_destruction?

marked_for_destruction?() Instance Public methods Returns whether or not this record will be destroyed as part of the parents save transaction. Only useful if the :autosave option on the parent is enabled for this associated model.