Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions truffle/src/main/ruby/core/shims.rb
Original file line number Diff line number Diff line change
@@ -79,12 +79,6 @@ class String
def append(other)
self << other
end

# The version in Rubinius 2.4.1 is broken, but has since been fixed. We'll monkey-patch here until we update to
# a newer Rubinius in order to keep the number of direct source modifications low.
def include?(needle)
!!find_string(StringValue(needle), 0)
end
end

class Rational

0 comments on commit 0dc59ff

Please sign in to comment.