class Bizsh::REPL
Constants
- NAME
REPL
prompt.
Public Instance Methods
start()
click to toggle source
Start a REPL
with refined types.
# File lib/bizsh.rb, line 97 def start Pry.hooks.clear_all # Remove default pry hooks. Pry.config.prompt = proc { |_, nest_level, _| "#{NAME}> " } # bizsh prompt. Pry.start binding # Fire up the REPL. end