Class: IRB::Irb

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

Instance Method Summary collapse

Instance Method Details

Fix an IRB bug; it ignores your output method.



218
219
220
# File 'lib/live_console.rb', line 218

def print(*args)
  context.output *args
end

#printf(*args) ⇒ Object

Fix an IRB bug; it ignores your output method.



213
214
215
# File 'lib/live_console.rb', line 213

def printf(*args)
  context.output(sprintf(*args))
end