Sha256: 81891b135dd9f5001bea1bfc8ac9a0688fd8d152a0f70ccad91a46c6c2c37716
Contents?: true
Size: 343 Bytes
Versions: 12
Compression:
Stored size: 343 Bytes
Contents
module FLV module Edit FILE = ::File.dirname(__FILE__) + '/../../VERSION.yml' class Version < Struct.new(:major, :minor, :patch) # :nodoc: def to_s "#{major}.#{minor}.#{patch}" end end def self.version Version.new(*YAML.load_file(FILE).values_at('major','minor','patch')) end end end
Version data entries
12 entries across 12 versions & 2 rubygems