Skip to content

Commit 738c982

Browse files
committed
Fixup Ruby 2.6 only code now we're on 3.2 minimum.
1 parent 4dfb2aa commit 738c982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cff/file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def to_yaml # :nodoc:
225225

226226
def method_missing(name, *) # :nodoc:
227227
if @index.respond_to?(name)
228-
@dirty = true if name.to_s.end_with?('=') # Remove to_s when Ruby >2.6.
228+
@dirty = true if name.end_with?('=')
229229
@index.send(name, *)
230230
else
231231
super

0 commit comments

Comments
 (0)