Module: JsonBuilder::Version
- Defined in:
- lib/jsonbuilder.rb
Constant Summary collapse
- MAJOR =
0- MINOR =
2- REVISION =
2
Class Method Summary collapse
Class Method Details
.to_name ⇒ Object
11 12 13 |
# File 'lib/jsonbuilder.rb', line 11 def to_name "#{MAJOR}_#{MINOR}_#{REVISION}" end |
.to_version ⇒ Object
7 8 9 |
# File 'lib/jsonbuilder.rb', line 7 def to_version "#{MAJOR}.#{MINOR}.#{REVISION}" end |