over(win) Instance Public methods
new(session, option=nil) Class Public methods Create a new NullStore instance. session is the session this instance is associated with. option is a list of initialisation options. None are currently recognised.
cmp.abs â real Instance Public methods Returns the absolute part of its polar form. Complex(-1).abs #=> 1 Complex(3.0, -4.0).abs #=> 5.0
id() Instance Public methods
rxp.source â str Instance Public methods Returns the original string of the pattern. /ab+c/ix.source #=> "ab+c" Note that escape sequences are retained as is. /\x20\+/.source #=> "\\x20\\+"
string_to_array(string, oid) Instance Public methods
prepare(object, attribute) Class Public methods
puts(exps) Instance Public methods Evaluates the given exps, for example: require 'irb/xmp' x = XMP.new x.puts '{:a => 1, :b => 2, :c => 3}' #=> {:a => 1, :b => 2, :c => 3} # ==>{:a=>1, :b=>2, :c=>3} x.puts 'foo = "bar"' # => foo = "bar" # ==>"bar"
result(b=new_toplevel) Instance Public methods Executes the generated ERB code to produce a completed template, returning the results of that code. (See ::new for details on how this process can be affected by safe_level.) b accepts a Binding object which is used to set the context of code evaluation.
assert_tag(*opts) Instance Public methods Asserts that there is a tag/node/element in the body of the response that meets all of the given conditions. The conditions parameter must be a hash of any of the following keys (all are optional): :tag: the node type must match the corresponding value :attributes: a hash. The node's attributes must match the corresponding values in the hash. :parent: a hash. The node's parent must match the corresponding hash. :child: a hash. At lea
Page 1941 of 2275