module Jeweler::VersionHelper::PlaintextExtension
def parse_plaintext
def parse_plaintext plaintext = read_plaintext.chomp if plaintext =~ /^(\d+)\.(\d+)\.(\d+)$/ @major = $1.to_i @minor = $2.to_i @patch = $3.to_i end end
def parse_plaintext plaintext = read_plaintext.chomp if plaintext =~ /^(\d+)\.(\d+)\.(\d+)$/ @major = $1.to_i @minor = $2.to_i @patch = $3.to_i end end