Skip to content

Commit c060943

Browse files
GrantBirkibyroot
authored andcommitted
remove redundant self.
1 parent f5c1b8c commit c060943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)