lib/polyfill/v2_4/string.rb in polyfill-1.0.1 vs lib/polyfill/v2_4/string.rb in polyfill-1.1.0
- old
+ new
@@ -11,10 +11,10 @@
super(*args)
end
end
def casecmp?(other)
- casecmp(other.to_str) == 0
+ casecmp(InternalUtils.to_str(other)) == 0
end
def concat(*others)
return super if others.length == 1