Method: Yap::Shell::Repl#initialize
- Defined in:
- lib/yap/shell/repl.rb
#initialize(world: nil) ⇒ Repl
Returns a new instance of Repl.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/yap/shell/repl.rb', line 12 def initialize(world:nil) @world = world @editor= world.editor Treefell['shell'].puts "installing default keybindings" install_default_keybindings Treefell['shell'].puts "installing default tab completion" install_default_tab_completion_proc end |