Sha256: eeca7a85ab43124ef10e7c4d9f555c3dfe20c449060e74c448620240ad2660cf

Contents?: true

Size: 465 Bytes

Versions: 11

Compression:

Stored size: 465 Bytes

Contents

module RDF::TriX::VERSION
  VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION")
  MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")

  STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')

  ##
  # @return [String]
  def self.to_s()   STRING end

  ##
  # @return [String]
  def self.to_str() STRING end

  ##
  # @return [Array(Integer, Integer, Integer)]
  def self.to_a() STRING.split(".") end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rdf-trix-3.3.0 lib/rdf/trix/version.rb
rdf-trix-3.2.0 lib/rdf/trix/version.rb
rdf-trix-3.1.1 lib/rdf/trix/version.rb
rdf-trix-3.1.0 lib/rdf/trix/version.rb
rdf-trix-2.2.1 lib/rdf/trix/version.rb
rdf-trix-2.2.0 lib/rdf/trix/version.rb
rdf-trix-2.0.0 lib/rdf/trix/version.rb
rdf-trix-2.0.0.beta lib/rdf/trix/version.rb
rdf-trix-1.1.0.1 lib/rdf/trix/version.rb
rdf-trix-1.99.0 lib/rdf/trix/version.rb
rdf-trix-1.1.0 lib/rdf/trix/version.rb