# File lib/jeweler/version_helper.rb, line 56 56: def parse_plaintext 57: plaintext = read_plaintext.chomp 58: # http://rubular.com/regexes/10467 -> 3.5.4.a1 59: # http://rubular.com/regexes/10468 -> 3.5.4 60: if plaintext =~ /^(\d+)\.(\d+)\.(\d+)(?:\.(.*?))?$/ 61: @major = $1.to_i 62: @minor = $2.to_i 63: @patch = $3.to_i 64: @build = $4 65: end 66: end
# File lib/jeweler/version_helper.rb, line 76 76: def path 77: plaintext_path 78: end
# File lib/jeweler/version_helper.rb, line 68 68: def read_plaintext 69: File.read(plaintext_path) 70: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.