Sha256: 59b81cc6c5439dda7935fb52a5f70dd6f43ef2b511903751bd717487fbe02a77
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
module PhpRuby module Io module Functions extend self def echo(*args) $stdout.write(args.join(' ')) end def print_r(*args) pp(*args) end def sprintf(*args) format, *tokens = *args format % tokens end def file(fname) IO.read(fname) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
php_ruby-0.0.3 | lib/php_ruby/io/functions.rb |