Module: Qa::LDF::VERSION

Defined in:
lib/qa/ldf/version.rb

Overview

Gives the current version, parsed from VERSION.

Examples:

"The current version is: #{Qa::LDF::VERSION}"

Constant Summary collapse

FILE =
File.expand_path('../../../../VERSION', __FILE__)
STRING =
[MAJOR, MINOR, TINY].compact.join('.').freeze

Class Method Summary collapse

Class Method Details

.to_aArray(String, String, String, String)

Returns:

  • (Array(String, String, String, String))


29
30
31
# File 'lib/qa/ldf/version.rb', line 29

def self.to_a
  [MAJOR, MINOR, TINY].compact
end

.to_sString

Returns:

  • (String)


17
18
19
# File 'lib/qa/ldf/version.rb', line 17

def self.to_s
  STRING
end

.to_strString

Returns:

  • (String)


23
24
25
# File 'lib/qa/ldf/version.rb', line 23

def self.to_str
  STRING
end