class Puts

Public Class Methods

new(stream=$stdout) click to toggle source
# File lib/druby_reci.rb, line 8
def initialize(stream=$stdout)
 @stream = stream
end

Public Instance Methods

puts(str) click to toggle source
# File lib/druby_reci.rb, line 12
def puts(str)
 @stream.puts(str)
end