Module: JsonBuilder::Version

Defined in:
lib/jsonbuilder.rb

Constant Summary collapse

MAJOR =
0
MINOR =
1
REVISION =
3

Class Method Summary collapse

Class Method Details

.to_nameObject



11
12
13
# File 'lib/jsonbuilder.rb', line 11

def to_name
  "#{MAJOR}_#{MINOR}_#{REVISION}"
end

.to_versionObject



7
8
9
# File 'lib/jsonbuilder.rb', line 7

def to_version
  "#{MAJOR}.#{MINOR}.#{REVISION}"
end