Module: HTAuth::Version

Defined in:
lib/htauth/version.rb

Constant Summary collapse

STRING =
HTAuth::VERSION
MAJOR =
Version.to_a[0]
MINOR =
Version.to_a[1]
BUILD =
Version.to_a[2]

Class Method Summary collapse

Class Method Details

.to_aObject



5
6
7
# File 'lib/htauth/version.rb', line 5

def to_a
  STRING.split(".")
end

.to_sObject



9
10
11
# File 'lib/htauth/version.rb', line 9

def to_s
  STRING
end