Class: LittleGhost::Console
- Inherits:
-
Object
- Object
- LittleGhost::Console
- Defined in:
- lib/little_ghost/console.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.start(root:) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/little_ghost/console.rb', line 8 def self.start(root:) configuration = Configuration.new(root:) LittleGhost.with_configuration(configuration) do LittleGhost.runtime IRB.setup(nil, argv: []) IRB::Irb.new.run(IRB.conf) end end |