Module: SPARQL::Grammar::VERSION

Defined in:
lib/sparql/grammar/version.rb

Constant Summary

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

Class Method Summary (collapse)

Class Method Details

+ (Array(Integer, Integer, Integer)) to_a

Returns:

  • (Array(Integer, Integer, Integer))


18
# File 'lib/sparql/grammar/version.rb', line 18

def self.to_a() [MAJOR, MINOR, TINY] end

+ (String) to_s

Returns:

  • (String)


10
# File 'lib/sparql/grammar/version.rb', line 10

def self.to_s() STRING end

+ (String) to_str

Returns:

  • (String)


14
# File 'lib/sparql/grammar/version.rb', line 14

def self.to_str() STRING end