Skip to content

Commit

Permalink
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions truffle/src/main/ruby/core/kernel.rb
Original file line number Diff line number Diff line change
@@ -38,10 +38,6 @@ def printf(*args)
end
module_function :printf

def tap
yield self
self
end

alias_method :trust, :untaint
alias_method :untrust, :taint
5 changes: 5 additions & 0 deletions truffle/src/main/ruby/core/rubinius/common/kernel.rb
Original file line number Diff line number Diff line change
@@ -207,4 +207,9 @@ def srand(seed=undefined)
end
module_function :srand

def tap
yield self
self
end

end

0 comments on commit 49dc6b4

Please sign in to comment.