set_callbacks

set_callbacks(name, callbacks) Instance Protected methods

install_cmd 2

install_cmd(cmd) Instance Public methods private :install_cmd, :uninstall_cmd module_function :install_cmd, :uninstall_cmd

from_name

from_name(p1) Class Public methods

exists?

exists?() Instance Public methods Alias for: existing_migration

clear

clear() Instance Public methods Equivalent to delete_all. The difference is that returns self, instead of an array with the deleted objects, so methods can be chained. See delete_all for more information.

each_with_object

e.with_object(obj) {|(*args), obj| ... }e.with_object(obj) Instance Public methods Iterates the given block for each element with an arbitrary object, obj, and returns obj If no block is given, returns a new Enumerator. Example to_three = Enumerator.new do |y| 3.times do |x| y << x end end to_three_with_string = to_three.with_object("foo") to_three_with_string.each do |x,string| puts "#{string}: #{x}" end # => foo:0 # => foo:1 # => foo:2

writer

writer() Instance Public methods

remove

remove(*args) Instance Public methods Alias for: delete

step

num.step(limit[, step]) {|i| block } â selfnum.step(limit[, step]) â an_enumerator Instance Public methods Invokes block with the sequence of numbers starting at num, incremented by step (default 1) on each call. The loop finishes when the value to be passed to the block is greater than limit (if step is positive) or less than limit (if step is negative). If all the arguments are integers, the loop operates using an integer counter. If any of the arguments are flo

_invoke_without_enc 2

_invoke_without_enc(*args) Instance Public methods