Class: MultiJson::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/multi_json/version.rb

Constant Summary

MAJOR =
1
MINOR =
9
PATCH =
2
PRE =
nil

Class Method Summary (collapse)

Class Method Details

+ (String) to_s

Returns:

  • (String)


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

def to_s
  [MAJOR, MINOR, PATCH, PRE].compact.join('.')
end