module Utils::IRB
def self.configure
limit and customizing the prompt display when IRB is running in
This method configures the IRB environment by setting the history save
The configure method sets up IRB configuration options.
def self.configure ::IRB.conf[:SAVE_HISTORY] = 1000 if ::IRB.conf[:PROMPT] ::IRB.conf[:PROMPT][:CUSTOM] = { :PROMPT_I => ">> ", :PROMPT_N => ">> ", :PROMPT_S => "%l> ", :PROMPT_C => "+> ", :RETURN => " # => %s\n" } ::IRB.conf[:PROMPT_MODE] = :CUSTOM end end