Module: RDF::Vocab::VERSION

Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/rdf-vocab-27503bb35c2b/lib/rdf/vocab/version.rb

Constant Summary collapse

VERSION_FILE =

frozen_string_literal: true

File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION")
STRING =
[MAJOR, MINOR, TINY, EXTRA].compact.join('.')

Class Method Summary collapse

Class Method Details

.to_aArray(Integer, Integer, Integer)

Returns:



18
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-vocab-27503bb35c2b/lib/rdf/vocab/version.rb', line 18

def self.to_a() STRING.split(".") end

.to_sString

Returns:



10
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-vocab-27503bb35c2b/lib/rdf/vocab/version.rb', line 10

def self.to_s()   STRING end

.to_strString

Returns:



14
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-vocab-27503bb35c2b/lib/rdf/vocab/version.rb', line 14

def self.to_str() STRING end