Class: MultiJson::Version

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

Constant Summary

MAJOR =
1
MINOR =
10
PATCH =
1
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