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.3.2 lib/rdf/vocab/version.rb
rdf-vocab-3.3.1 lib/rdf/vocab/version.rb
rdf-vocab-3.3.0 lib/rdf/vocab/version.rb
rdf-vocab-3.2.7 lib/rdf/vocab/version.rb
rdf-vocab-3.2.6 lib/rdf/vocab/version.rb
rdf-vocab-3.2.5 lib/rdf/vocab/version.rb
rdf-vocab-3.2.4 lib/rdf/vocab/version.rb
rdf-vocab-3.2.3 lib/rdf/vocab/version.rb
rdf-vocab-3.2.2 lib/rdf/vocab/version.rb
rdf-vocab-3.2.1 lib/rdf/vocab/version.rb
rdf-vocab-3.2.0 lib/rdf/vocab/version.rb
rdf-vocab-3.1.14 lib/rdf/vocab/version.rb
rdf-vocab-3.1.13 lib/rdf/vocab/version.rb
rdf-vocab-3.1.12 lib/rdf/vocab/version.rb
rdf-vocab-3.1.11 lib/rdf/vocab/version.rb
rdf-vocab-3.1.10 lib/rdf/vocab/version.rb
rdf-vocab-3.1.9 lib/rdf/vocab/version.rb
rdf-vocab-3.1.8 lib/rdf/vocab/version.rb
rdf-vocab-3.1.7 lib/rdf/vocab/version.rb
rdf-vocab-3.1.6 lib/rdf/vocab/version.rb