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
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
raw_output_value()
Alias for: output_value
raw_print(*args)
Alias for: print
raw_printf(format, *args)
Alias for: printf