Skip to content

Commit e4a44b1

Browse files
GrantBirkihsbt
authored andcommitted
[ruby/json] remove redundant self.
ruby/json@c060943d04
1 parent 9b25023 commit e4a44b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/lib/json/common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def generator=(generator) # :nodoc:
172172
end
173173
end
174174
self.state = generator::State
175-
const_set :State, self.state
175+
const_set :State, state
176176
ensure
177177
$VERBOSE = old
178178
end

0 commit comments

Comments
 (0)