field_row?

field_row?() Instance Public methods Returns true if this is a field row.

destroy_all

destroy_all(conditions = nil) Instance Public methods Destroys the records matching conditions by instantiating each record and calling its destroy method. Each object's callbacks are executed (including :dependent association options). Returns the collection of objects that were destroyed; each will be frozen, to reflect that no changes should be made (since they can't be persisted). Note: Instantiation, callback execution, and deletion of each record can be time consuming when yo

pretty_print_instance_variables

pretty_print_instance_variables() Instance Public methods Returns a sorted array of instance variable names. This method should return an array of names of instance variables as symbols or strings as: +[:@a, :@b]+.

error

error(msg) Instance Public methods Shortcut for logging an ERROR message

parse

parse(str) Instance Public methods

current_line

current_line() Instance Public methods

shellsplit

str.shellsplit => array Instance Public methods Splits str into an array of tokens in the same way the UNIX Bourne shell does. See Shellwords.shellsplit for details.

cget_tkstring

cget_tkstring(win, option) Class Public methods

hook_for

hook_for(*names, &block) Class Public methods Invoke a generator based on the value supplied by the user to the given option named ânameâ. A class option is created when this method is invoked and you can set a hash to customize it. Examples module Rails::Generators class ControllerGenerator < Base hook_for :test_framework, aliases: "-t" end end The example above will create a test framework option and will invoke a generator based on the user supplied value. For ex

winfo_rooty

winfo_rooty() Instance Public methods