values_at

ENV.values_at(name, ...) â Array Class Public methods Returns an array containing the environment variable values associated with the given names. See also ::select.

to_time

to_time() Instance Public methods Return a Time object of the date/time which represents self. If the @year is below 1970, this method returns nil, because Time cannot handle years below 1970. The timezone used is GMT.

fourth!

fourth!() Instance Public methods Same as fourth but raises ActiveRecord::RecordNotFound if no record is found.

to_s

to_s() Instance Public methods Alias for: to_pem

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