module FancyIrb::IrbExtPrompt
Private Instance Methods
format_prompt(format, ltype, indent, line_no)
click to toggle source
Calls superclass method
# File lib/fancy_irb/irb_ext.rb, line 18 def format_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