VERSION_FORMAT end def self.parse(str) raise "Invalid Version Format: #{str}" unless valid?(str) self.new(str) end def initialize(version_string) @version_string = version_string end def family_number @version_string =~ VERSION_FORMAT $1.to_i end def update_number @version_string =~ VERSION_FORMAT $2.to_i end end Ϋϥεϝιου͕ ͔̎ͭʜ ॏෳʜ