mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9 lines
302 B
Ruby
9 lines
302 B
Ruby
# frozen_string_literal: false
|
|
module JSON
|
|
# JSON version
|
|
VERSION = '2.5.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
|