Sha256: 21f966a25c445316df0c6f4f7bedb14840c7f4b54c418ed99a1e3354711197fd
Contents?: true
Size: 335 Bytes
Versions: 21
Compression:
Stored size: 335 Bytes
Contents
module Rfm VERSION_DEFAULT = 'none' VERSION = File.read(PATH + '/rfm/VERSION').lines.first.chomp rescue VERSION_DEFAULT VERSION.instance_eval do def components; VERSION.split('.'); end def major; components[0]; end def minor; components[1]; end def patch; components[2]; end def build; components[3]; end end end
Version data entries
21 entries across 21 versions & 1 rubygems