cget_strict

cget_strict(option) Instance Public methods

new

new(keys=nil, &b) Class Public methods

valid?

valid?(context = nil) Instance Public methods Runs all the specified validations and returns true if no errors were added otherwise false. class Person include ActiveModel::Validations attr_accessor :name validates_presence_of :name end person = Person.new person.name = '' person.valid? # => false person.name = 'david' person.valid? # => true Context can optionally be supplied to define which callbacks to test against (the context is defined on the validations using

sortByColumn_with_event_generate

sortByColumn_with_event_generate(idx) Instance Public methods

tag

tag(name, options = nil, open = false, escape = true) Instance Public methods Returns an empty HTML tag of type name which by default is XHTML compliant. Set open to true to create an open tag compatible with HTML 4.0 and below. Add HTML attributes by passing an attributes hash to options. Set escape to false to disable attribute value escaping. Options You can use symbols or strings for the attribute names. Use true with boolean attributes that can render with no value, like disab

initialize_copy

initialize_copy(orig) Instance Public methods Duplicate an OpenStruct object members.

Hash

Hash(arg) â hash Instance Public methods Converts arg to a Hash by calling arg.to_hash. Returns an empty Hash when arg is nil or []. Hash([]) #=> {} Hash(nil) #=> nil Hash(key: :value) #=> {:key => :value} Hash([1, 2, 3]) #=> TypeError

__callee__

__callee__() Instance Public methods

pretty_inspect

pretty_inspect() Instance Public methods returns a pretty printed object as a string.

add_token_listener

add_token_listener(obj) Instance Public methods Adds a token listener obj, but you should probably use #token_listener