Sha256: 190599023df8c67ed7b6489058a93e66cd8afc3a72702c6997f5d0a13de23d8e

Contents?: true

Size: 496 Bytes

Versions: 54

Compression:

Stored size: 496 Bytes

Contents

module RDF::Vocab::VERSION
# frozen_string_literal: true
  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

54 entries across 54 versions & 1 rubygems

Version Path
rdf-vocab-3.1.5 lib/rdf/vocab/version.rb
rdf-vocab-3.1.4 lib/rdf/vocab/version.rb
rdf-vocab-3.1.2 lib/rdf/vocab/version.rb
rdf-vocab-3.1.1 lib/rdf/vocab/version.rb
rdf-vocab-3.1.0 lib/rdf/vocab/version.rb
rdf-vocab-3.0.14 lib/rdf/vocab/version.rb
rdf-vocab-3.0.13 lib/rdf/vocab/version.rb
rdf-vocab-3.0.12 lib/rdf/vocab/version.rb
rdf-vocab-3.0.11 lib/rdf/vocab/version.rb
rdf-vocab-3.0.10 lib/rdf/vocab/version.rb
rdf-vocab-3.0.8 lib/rdf/vocab/version.rb
rdf-vocab-3.0.7 lib/rdf/vocab/version.rb
rdf-vocab-3.0.6 lib/rdf/vocab/version.rb
rdf-vocab-3.0.5 lib/rdf/vocab/version.rb
rdf-vocab-3.0.4 lib/rdf/vocab/version.rb
rdf-vocab-3.0.3 lib/rdf/vocab/version.rb
rdf-vocab-3.0.2 lib/rdf/vocab/version.rb
rdf-vocab-3.0.1 lib/rdf/vocab/version.rb
rdf-vocab-3.0.0 lib/rdf/vocab/version.rb
rdf-vocab-2.2.9 lib/rdf/vocab/version.rb