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

Version Path
marcandre-flvedit-0.6.3 lib/flvedit/version.rb
marcandre-flvedit-0.6.4 lib/flvedit/version.rb
marcandre-flvedit-0.7.0 lib/flvedit/version.rb
marcandre-flvedit-0.7.1 lib/flvedit/version.rb
marcandre-flvedit-0.7.2 lib/flvedit/version.rb
marcandre-flvedit-0.7.3 lib/flvedit/version.rb
flvedit-0.7.4 lib/flvedit/version.rb
flvedit-0.7.2 lib/flvedit/version.rb
flvedit-0.7.1 lib/flvedit/version.rb
flvedit-0.6.4 lib/flvedit/version.rb
flvedit-0.7.0 lib/flvedit/version.rb
flvedit-0.6.3 lib/flvedit/version.rb