Skip to content

Commit cf3993c

Browse files
etiennebarriebyroot
authored andcommitted
Remove dead code from JSON::TruffleRuby::Generator
1 parent 4218a42 commit cf3993c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/json/truffle_ruby/generator.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -500,11 +500,6 @@ def to_json(state = nil, *)
500500

501501
private
502502

503-
def json_shift(state)
504-
state.object_nl.empty? or return ''
505-
state.indent * state.depth
506-
end
507-
508503
def json_transform(state)
509504
depth = state.depth += 1
510505

0 commit comments

Comments
 (0)