Class: Nrb::Commands::Console

Inherits:
Inside
  • Object
show all
Defined in:
lib/nrb/commands/console.rb

Instance Method Summary collapse

Methods inherited from Inside

#ensure_inside_root

Methods inherited from Base

#opts, source_root

Instance Method Details

#startObject



9
10
11
12
13
# File 'lib/nrb/commands/console.rb', line 9

def start
  required = require_main_file
  Pry.start unless options[:pretend]
  required
end