limited_update_conditions

limited_update_conditions(where_sql, quoted_table_name, quoted_primary_key) Instance Public methods

itemEnter

itemEnter(c) Instance Public methods

delete_passwd

delete_passwd(realm, user) Instance Public methods Removes a password from the database for user in realm.

ready?

io.ready? â true, false or nil Instance Public methods Returns true if input available without blocking, or false. Returns nil if no information available.

keys

hsh.keys â array Instance Public methods Returns a new array populated with the keys from this hash. See also Hash#values. h = { "a" => 100, "b" => 200, "c" => 300, "d" => 400 } h.keys #=> ["a", "b", "c", "d"]

format

format(*opts) Instance Public methods

each

each() Instance Public methods Iterates through each error key, value pair in the error messages hash. Yields the attribute and the error for that attribute. If the attribute has more than one error message, yields once for each error message. person.errors.add(:name, "can't be blank") person.errors.each do |attribute, error| # Will yield :name and "can't be blank" end person.errors.add(:name, "must be specified") person.errors.each do |attribute, error| # Will yield :name and

cursor_restore

cursor_restore(win, cursor = None) Class Public methods

select

ary.select { |item| block } â new_aryary.select â Enumerator Instance Public methods Returns a new array containing all elements of ary for which the given block returns a true value. If no block is given, an Enumerator is returned instead. [1,2,3,4,5].select { |num| num.even? } #=> [2, 4] a = %w{ a b c d e f } a.select { |v| v =~ /[aeiou]/ } #=> ["a", "e"] See also Enumerable#select.

new

new(config) Class Public methods Creates a new HTTP request. WEBrick::Config::HTTP is the default configuration.