Class: MultiJson::Version

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

Constant Summary collapse

MAJOR =
1
MINOR =
7
PATCH =
6
PRE =
nil

Class Method Summary collapse

Class Method Details

.to_sString

Returns:

  • (String)

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

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