Sha256: 29b6cbedf1fc0705c5e2372f830cc416a99adead7d7e07921425095ba0d9693e

Contents?: true

Size: 463 Bytes

Versions: 11

Compression:

Stored size: 463 Bytes

Contents

module RDF
  module VERSION
    VERSION_FILE = File.expand_path("../../../VERSION", __FILE__)
    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() [MAJOR, MINOR, TINY] end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
rdf-0.3.11.1 lib/rdf/version.rb
rdf-0.3.11 lib/rdf/version.rb
rdf-0.3.10 lib/rdf/version.rb
rdf-0.3.9 lib/rdf/version.rb
rdf-0.3.8 lib/rdf/version.rb
rdf-0.3.7 lib/rdf/version.rb
rdf-0.3.5.2 lib/rdf/version.rb
openlogic-rdf-0.3.7 lib/rdf/version.rb
openlogic-rdf-0.3.6 lib/rdf/version.rb
rdf-0.3.5.1 lib/rdf/version.rb
rdf-0.3.5 lib/rdf/version.rb