begin_db_transaction

begin_db_transaction() Instance Public methods Begins the transaction (and turns off auto-committing).

mail

mail(headers = {}, &block) Instance Public methods The main method that creates the message and renders the email templates. There are two ways to call this method, with a block, or without a block. Both methods accept a headers hash. This hash allows you to specify the most used headers in an email message, these are: :subject - The subject of the message, if this is omitted, Action Mailer will ask the Rails I18n class for a translated :subject in the scope of [mailer_scope,

first_lineno

first_lineno() Instance Public methods Returns the number of the first source line where the instruction sequence was loaded from. For example, using irb: iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.first_lineno #=> 1

count

count( node_set ) Class Public methods Returns the size of the given list of nodes.

version

version() Class Public methods Returns the version of the currently loaded ActiveSupport as a Gem::Version

sign

PKCS7.sign(cert, key, data, [, certs [, flags]]) => pkcs7 Class Public methods

eql?

eql?(p1) Instance Public methods Compare this pathname with other. The comparison is string-based. Be aware that two different paths (foo.txt and ./foo.txt) can refer to the same file.

inject_into_list

inject_into_list(dep_list) Instance Public methods

accept

accept() Instance Public methods

subdomain_of?

subdomain_of?(other) Instance Public methods Returns true if other is a subdomain. Example: domain = Resolv::DNS::Name.create("y.z") p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("z").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false p R