Skip to content

Commit 3967bb0

Browse files
committed
Remove Ruby 3.2 feature use
1 parent 2372942 commit 3967bb0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/json/add/arithmetic_sequence.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def as_json(*)
5252
# {"json_class":"Enumerator::ArithmeticSequence","b":42,"e":72,"x":false,"s":3}
5353
# {"json_class":"Enumerator::ArithmeticSequence","b":42,"e":72,"x":true,"s":4}
5454
#
55-
def to_json(*) = as_json.to_json(*)
55+
def to_json(*args)
56+
as_json.to_json(*args)
57+
end
5658
end
5759
end

0 commit comments

Comments
 (0)