module Mail::VERSION
def self.version
def self.version version_hash = {} File.read(File.join(File.dirname(__FILE__), '../', 'VERSION')).each_line do |line| type, value = line.chomp.split(":") next if type =~ /^\s+$/ || value =~ /^\s+$/ version_hash[type] = value end version_hash end