Skip to content

Commit

Permalink
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions truffle/src/main/ruby/core/shims.rb
Original file line number Diff line number Diff line change
@@ -187,3 +187,14 @@ module Math

$PROGRAM_NAME = $0
$$ = Process.pid

# IO::printf from Rubinius uses Rubinius::Sprinter

class IO

def printf(fmt, *args)
fmt = StringValue(fmt)
write sprintf(fmt, *args)
end

end

0 comments on commit d5bd288

Please sign in to comment.