module Vanity VERSION = "1.8.2" module Version version = VERSION.to_s.split(".").map { |i| i.to_i } MAJOR = version[0] MINOR = version[1] PATCH = version[2] STRING = "#{MAJOR}.#{MINOR}.#{PATCH}" end end