Kerb.version()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 3
rs 10
cc 1
1
module Kerb
2
  module VERSION
3
    MAJOR = 0
4
    MINOR = 1
5
    TINY  = 0
6
7
    STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
  end
9
10
  def self.version
11
    Gem::Version.new VERSION::STRING
12
  end
13
end
14