9 lines
271 B
Ruby
9 lines
271 B
Ruby
|
module JSON
|
||
|
# JSON version
|
||
|
VERSION = '1.8.1'
|
||
|
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
|
||
|
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
||
|
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
||
|
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
||
|
end
|