text=

text=( text ) Instance Public methods Sets the first Text child of this object. See text() for a discussion about Text children. If a Text child already exists, the child is replaced by this content. This means that Text content can be deleted by calling this method with a nil argument. In this case, the next Text child becomes the first Text child. In no case is the order of any siblings disturbed. text If a String, a new Text child is created and added to this Element as th

new

new(str, safe_level = nil, trim_mode = nil, eoutvar = 'io') Class Public methods Defaults eoutvar to 'io', otherwise is identical to ERB's initialize

text

text() Instance Public methods BSTR text text content of the node and subtree

checkbox_group

checkbox_group(name = "", *values) Instance Public methods Generate a sequence of checkbox elements, as a String. The checkboxes will all have the same name attribute. Each checkbox is followed by a label. There will be one checkbox for each value. Each value can be specified as a String, which will be used both as the value of the VALUE attribute and as the label for that checkbox. A single-element array has the same effect. Each value can also be specified as a three-element arr

build_verbatim

build_verbatim(margin) Instance Public methods Builds a verbatim from the token stream. A verbatim in the Examples section will be marked as in ruby format. margin The indentation from the margin for lines that belong to this verbatim section. Returns Returns an RDoc::Markup::Verbatim

img

img(src = "", alt = "", width = nil, height = nil) Instance Public methods Generate an Image element as a string. src is the URL of the image. alt is the alternative text for the image. width is the width of the image, and height is its height. Alternatively, the attributes can be specified as a hash. img("src", "alt", 100, 50) # <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50"> img("SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50) # <IMG S

fork

Kernel.fork [{ block }] â fixnum or nilProcess.fork [{ block }] â fixnum or nil Instance Public methods Creates a subprocess. If a block is specified, that block is run in the subprocess, and the subprocess terminates with a status of zero. Otherwise, the fork call returns twice, once in the parent, returning the process ID of the child, and once in the child, returning nil. The child process can exit using Kernel.exit! to avoid running any at_exit functions. The parent proce

new

new(place, ary, expires=nil) Class Public methods

to_pem

to_pem() Instance Public methods Alias for: export

member?

rng.member?(obj) â true or false Instance Public methods Returns true if obj is an element of the range, false otherwise. If begin and end are numeric, comparison is done according to the magnitude of the values. ("a".."z").include?("g") #=> true ("a".."z").include?("A") #=> false ("a".."z").include?("cc") #=> false