notify_bind_append

notify_bind_append(obj, event, *args) Instance Public methods def #notify_bind_append(obj, event, cmd=Proc.new, *args) _bind_append([@path, 'notify', 'bind', obj], event, cmd, *args) self end

absolute_path

absolute_path() Instance Public methods Returns the full file path of this frame. Same as path, but includes the absolute path.

fetch_spec

fetch_spec(name) Instance Public methods

change_column_default

change_column_default(table_name, column_name, default) Instance Public methods Sets a new default value for a column: change_column_default(:suppliers, :qualification, 'new') change_column_default(:accounts, :authorized, 1) Setting the default to nil effectively drops the default: change_column_default(:users, :email, nil)

at_noon

at_noon() Instance Public methods Alias for: middle_of_day

display_indices

display_indices(mod) Instance Public methods

execute

execute() Instance Public methods

parse

parse(obj) Class Public methods REFACTOR: Little two element arrays like this have no real semantic value. I'd love to see something like this: Constraint = Struct.new(:operator, :version); (or similar) and have a Requirement be a list of Constraints.

serialized_attributes

serialized_attributes Instance Public methods Returns a hash of all the attributes that have been specified for serialization as keys and their class restriction as values.

subdomains

subdomains(tld_length = @@tld_length) Instance Public methods Returns all the subdomains as an array, so ["dev", "www"] would be returned for âdev.www.rubyonrails.orgâ. You can specify a different tld_length, such as 2 to catch ["www"] instead of ["www", "rubyonrails"] in âwww.rubyonrails.co.ukâ.