Sha256: 2f109c9fac73503c359e0b0534c6addc76810ef5ec47aeaace4a03dab84ecb1a
Contents?: true
Size: 346 Bytes
Versions: 2
Compression:
Stored size: 346 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
marcandre-flvedit-0.6.2 | lib/flv/edit/version.rb |
flvedit-0.6.2 | lib/flv/edit/version.rb |