Sha256: 8b10fe2275175d748002ede5efae235d1ce73c1caa45e52ba808178182d2e4ec

Contents?: true

Size: 484 Bytes

Versions: 7

Compression:

Stored size: 484 Bytes

Contents

module RDF; module Spec
  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; end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rdf-spec-0.3.11 lib/rdf/spec/version.rb
rdf-spec-0.3.10 lib/rdf/spec/version.rb
rdf-spec-0.3.9 lib/rdf/spec/version.rb
rdf-spec-0.3.8 lib/rdf/spec/version.rb
rdf-spec-0.3.7 lib/rdf/spec/version.rb
rdf-spec-0.3.5.1 lib/rdf/spec/version.rb
rdf-spec-0.3.5 lib/rdf/spec/version.rb