Skip to content

Commit

Permalink
[Truffle] Add Kernel#putc.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed May 18, 2015
1 parent 7cf5793 commit 0c52ae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
19 changes: 0 additions & 19 deletions spec/truffle/tags/core/kernel/putc_tags.txt

This file was deleted.

5 changes: 5 additions & 0 deletions truffle/src/main/ruby/core/rubinius/common/kernel.rb
Expand Up @@ -291,6 +291,11 @@ def p(*a)
end
module_function :p

def putc(int)
$stdout.putc(int)
end
module_function :putc

def puts(*a)
$stdout.puts(*a)
nil
Expand Down

0 comments on commit 0c52ae9

Please sign in to comment.