Skip to content

Commit 971b7de

Browse files
yahondahsbt
authored andcommitted
Replace Ruby 3.5 with Ruby 4.0
This commit updates the Ruby version to follow the commit in Ruby master branch. ruby/ruby@6d81969
1 parent 0297c55 commit 971b7de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/psych/core_ext.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def to_yaml options = {}
2020

2121
# Up to Ruby 3.4, Set was a regular object and was dumped as such
2222
# by Pysch.
23-
# Starting from Ruby 3.5 it's a core class written in C, so we have to implement
23+
# Starting from Ruby 4.0 it's a core class written in C, so we have to implement
2424
# #encode_with / #init_with to preserve backward compatibility.
2525
if defined?(::Set) && Set.new.instance_variables.empty?
2626
class Set

0 commit comments

Comments
 (0)