Skip to content

Commit

Permalink
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/kernel/tap_tags.txt

This file was deleted.

5 changes: 5 additions & 0 deletions truffle/src/main/ruby/core/kernel.rb
Original file line number Diff line number Diff line change
@@ -38,6 +38,11 @@ def printf(*args)
end
module_function :printf

def tap
yield self
self
end

alias_method :trust, :untaint
alias_method :untrust, :taint
alias_method :untrusted?, :tainted?

0 comments on commit 0e4e50c

Please sign in to comment.