insertBefore

insertBefore(arg0, arg1) Instance Public methods IXMLDOMNode insertBefore insert a child node IXMLDOMNode arg0 --- newChild [IN] VARIANT arg1 --- refChild [IN]

new

Selector.new(string, [values ...]) => selector Class Public methods Creates a new selector from a CSS 2 selector expression. The first argument is the selector expression. All other arguments are used for value substitution. Throws InvalidSelectorError is the selector expression is invalid.

from

from(ary) Class Public methods

move20

move20(step = nil) Instance Public methods

to_p

to_p() Instance Public methods

class_variable_defined?

obj.class_variable_defined?(symbol) â true or false Instance Public methods Returns true if the given class variable is defined in obj. class Fred @@foo = 99 end Fred.class_variable_defined?(:@@foo) #=> true Fred.class_variable_defined?(:@@bar) #=> false

many?

many?(&block) Instance Public methods Returns true if the collection has more than one record. Equivalent to collection.size > 1. class Person < ActiveRecord::Base has_many :pets end person.pets.count # => 1 person.pets.many? # => false person.pets << Pet.new(name: 'Snoopy') person.pets.count # => 2 person.pets.many? # => true You can also pass a block to define criteria. The behavior is the same, it returns true if the collection based on the crite

save!

save!(options={}) Instance Public methods Attempts to save the record just like #save but will raise a RecordInvalid exception instead of returning false if the record is not valid.

config

config(key, value=None) Instance Public methods

LOG_UPTO

LOG_UPTO(priority_level) => priority_mask Instance Public methods Generates a mask value for priority levels at or below the level specified. See mask=