ask_for_password

ask_for_password(question) Instance Public methods Ask for a password. Does not echo response to terminal.

find_symbol

find_symbol(symbol) Instance Public methods Look up symbol, first as a module, then as a local symbol.

with_lock

with_lock(lock = true) Instance Public methods Wraps the passed block in a transaction, locking the object before yielding. You can pass the SQL locking clause as argument (see lock!).

key?

key?(key) Instance Public methods Checks the hash for a key matching the argument passed in: hash = ActiveSupport::HashWithIndifferentAccess.new hash['key'] = 'value' hash.key?(:key) # => true hash.key?('key') # => true include? has_key? member?

new

OpenSSL::ASN1::Primitive.new( value [, tag, tagging, tag_class ]) => Primitive Class Public methods value: is mandatory. tag: optional, may be specified for tagged values. If no tag is specified, the UNIVERSAL tag corresponding to the Primitive sub-class is used by default. tagging: may be used as an encoding hint to encode a value either explicitly or implicitly, see ASN1 for possible values. tag_class: if tag and tagging are nil then this is set to :UNIVERSAL by default. If e

set_bool_element

set_bool_element(idxs, val) Instance Public methods

convert_key

convert_key(key) Instance Protected methods

token_pos

token_pos(byte_offset) Instance Public methods Calculates the column (by character) and line of the current token from scanner based on byte_offset.

update

update(other_hash) Instance Public methods Updates the receiver in-place, merging in the hash passed as argument: hash_1 = ActiveSupport::HashWithIndifferentAccess.new hash_1[:key] = 'value' hash_2 = ActiveSupport::HashWithIndifferentAccess.new hash_2[:key] = 'New Value!' hash_1.update(hash_2) # => {"key"=>"New Value!"} The argument can be either an ActiveSupport::HashWithIndifferentAccess or a regular Hash. In either case the merge respects the semantics of indifferent ac

instance_methods

mod.instance_methods(include_super=true) â array Instance Public methods Returns an array containing the names of the public and protected instance methods in the receiver. For a module, these are the public and protected methods; for a class, they are the instance (not singleton) methods. With no argument, or with an argument that is false, the instance methods in mod are returned, otherwise the methods in mod and mod's superclasses are returned. module A def method1() end e