Class: MultiJson::Version Private

Inherits:
Object
  • Object
show all
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

Class Method Details

.to_sString

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

Returns:

  • (String)

    version in semver format



20
21
22
# File 'lib/multi_json/version.rb', line 20

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