Methods

Class Index [+]

Quicksearch

Mail::VERSION

Constants

MAJOR
MINOR
PATCH
BUILD
STRING

Public Class Methods

version() click to toggle source
    # File lib/mail/version.rb, line 5
 5:     def self.version
 6:       version_hash = {}
 7:       File.read(File.join(File.dirname(__FILE__), '../', 'VERSION')).each_line do |line|
 8:         type, value = line.chomp.split(":")
 9:         next if type =~ /^\s+$/  || value =~ /^\s+$/
10:         version_hash[type] = value
11:       end
12:       version_hash
13:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.