cget_strict

cget_strict(opt) Instance Public methods

scanMark

scanMark(w, x, y) Class Public methods

add

add(pub) Instance Public methods Add a publisher to the composite.

as_json

as_json(options=nil) Instance Public methods Returns a Hash that can be used as the JSON representation for this object. You can pass the :full_messages option. This determines if the json object should contain full messages or not (false by default). person.errors.as_json # => {:name=>["cannot be nil"]} person.errors.as_json(full_messages: true) # => {:name=>["name cannot be nil"]}

column

column(name, type, options = {}) Instance Public methods Instantiates a new column for the table. The type parameter is normally one of the migrations native types, which is one of the following: :primary_key, :string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean. You may use a type not in this list as long as it is supported by your database (for example, âpolygonâ in MySQL), but this will not be database agnostic and should usually be

ownerDocument

ownerDocument() Instance Public methods IXMLDOMDocument ownerDocument document that contains the node

new

new() Class Public methods

select_one

select_one(arel, name = nil, binds = []) Instance Public methods Returns a record hash with the column names as keys and column values as values.

cidr

cidr(name, options = {}) Instance Public methods

lineno

ARGF.lineno â integer Instance Public methods Returns the current line number of ARGF as a whole. This value can be set manually with ARGF.lineno=. For example: ARGF.lineno #=> 0 ARGF.readline #=> "This is line 1\n" ARGF.lineno #=> 1