class IRB::Irb
Public Instance Methods
output_value()
click to toggle source
# File lib/tailog/ext/irb.rb, line 58 def output_value if IRB.Output context = IRB.CurrentContext IRB.Output << [ :stdout, context.return_format % context.inspect_last_value ] else raw_output_value end end
Also aliased as: raw_output_value
print(*args)
click to toggle source
# File lib/tailog/ext/irb.rb, line 67 def print *args if IRB.Output IRB.Output << [ :stderr, args.join, caller ] else raw_print *args end end
Also aliased as: raw_print
printf(format, *args)
click to toggle source
# File lib/tailog/ext/irb.rb, line 75 def printf format, *args if IRB.Output IRB.Output << [ :stderr, format % args, caller ] else raw_printf format, *args end end
Also aliased as: raw_printf