mirror of
https://github.com/ruby/ruby.git
synced 2025-09-24 04:54:01 +02:00
Merge json-2.5.1
This commit is contained in:
parent
9b9cbbbc17
commit
034c19ce28
3 changed files with 4 additions and 2 deletions
|
@ -72,6 +72,8 @@ module JSON
|
|||
self.state = generator::State
|
||||
const_set :State, self.state
|
||||
const_set :SAFE_STATE_PROTOTYPE, State.new # for JRuby
|
||||
const_set :FAST_STATE_PROTOTYPE, create_fast_state
|
||||
const_set :PRETTY_STATE_PROTOTYPE, create_pretty_state
|
||||
ensure
|
||||
$VERBOSE = old
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue