module FancyIrb::IrbExtPromptLegacy

Public Instance Methods

prompt(format, ltype, indent, line_no) click to toggle source
Calls superclass method
# File lib/fancy_irb/irb_ext.rb, line 28
def prompt(format, ltype, indent, line_no)
  FancyIrb.handle_prompt(
    super(format, ltype, indent, line_no),
    IRB.conf[:AUTO_INDENT] ? indent * 2 : 0
    # IRB.conf[:AUTO_INDENT] && IRB.conf[:PROMPT][IRB.conf[:PROMPT_MODE]][:PROMPT_C] == format
  )
end