Module: EBNF::VERSION

Defined in:
lib/ebnf/version.rb

Constant Summary collapse

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

.to_aArray(Integer, Integer, Integer)

Returns:

  • (Array(Integer, Integer, Integer))


18
# File 'lib/ebnf/version.rb', line 18

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

.to_sString

Returns:

  • (String)


10
# File 'lib/ebnf/version.rb', line 10

def self.to_s() STRING end

.to_strString

Returns:

  • (String)


14
# File 'lib/ebnf/version.rb', line 14

def self.to_str() STRING end