Class: MultiJson::Version Private
- Inherits:
-
Object
- Object
- MultiJson::Version
- Defined in:
- lib/multi_json/version.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Version information for MultiJson
Constant Summary collapse
- MAJOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Major version number
1- MINOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Minor version number
19- PATCH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Patch version number
0- PRE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Pre-release version suffix
nil
Class Method Summary collapse
-
.to_s ⇒ String
private
Return the version string.
Class Method Details
.to_s ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return the version string
20 21 22 |
# File 'lib/multi_json/version.rb', line 20 def to_s [MAJOR, MINOR, PATCH, PRE].compact.join(".") end |