We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea58503 commit 5910befCopy full SHA for 5910bef
lib/json/common.rb
@@ -72,6 +72,8 @@ def generator=(generator) # :nodoc:
72
self.state = generator::State
73
const_set :State, self.state
74
const_set :SAFE_STATE_PROTOTYPE, State.new # for JRuby
75
+ const_set :FAST_STATE_PROTOTYPE, create_fast_state
76
+ const_set :PRETTY_STATE_PROTOTYPE, create_pretty_state
77
ensure
78
$VERBOSE = old
79
end
0 commit comments