class Rvm2::Ui::Multi::IoWriteRouter
Public Class Methods
new(parent, type)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 6 def initialize(parent, type) @parent = parent @type = type end
Public Instance Methods
<<(*args)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 13 def <<(*args) @parent.handlers.each{|h| h.send(@type).<<(*args) } end
print(*args)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 16 def print(*args) @parent.handlers.each{|h| h.send(@type).print(*args) } end
printf(*args)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 19 def printf(*args) @parent.handlers.each{|h| h.send(@type).printf(*args) } end
puts(*args)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 22 def puts(*args) @parent.handlers.each{|h| h.send(@type).puts(*args) } end
write(*args)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 10 def write(*args) @parent.handlers.each{|h| h.send(@type).write(*args) } end
write_nonblock(*args)
click to toggle source
# File lib/rvm2/ui/multi/io_write_router.rb, line 25 def write_nonblock(*args) @parent.handlers.each{|h| h.send(@type).write_nonblock(*args) } end