Class: IRB::Irb

Inherits:
Object
  • Object
show all
Defined in:
lib/drbirb/server.rb

Overview

patch a (IMO) bug in IRB - output methods are ignored?

Instance Method Summary collapse

Instance Method Details



60
61
62
# File 'lib/drbirb/server.rb', line 60

def print(*args)
  context.instance_variable_get(:@output_method).print(*args)
end

#printf(*args) ⇒ Object



64
65
66
# File 'lib/drbirb/server.rb', line 64

def printf(*args)
  context.instance_variable_get(:@output_method).printf(*args)
end