Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions truffle/src/main/ruby/core/string.rb
Original file line number Diff line number Diff line change
@@ -713,8 +713,7 @@ def inspect
end

def prepend(other)
self[0, 0] = other
self
replace(StringValue(other) + self)
end

def upto(stop, exclusive=false)

0 comments on commit b720575

Please sign in to comment.