Module: HTAuth::Version

Defined in:
lib/htauth/version.rb

Constant Summary

MAJOR =
1
MINOR =
0
BUILD =
3
STRING =
Version.to_s

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_a



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

def to_a
  [MAJOR, MINOR, BUILD]
end

- (Object) to_s



12
13
14
# File 'lib/htauth/version.rb', line 12

def to_s
  to_a.join(".")
end