Class: Nanoc::CLI::Commands::Shell
- Inherits:
-
Nanoc::CLI::CommandRunner
- Object
- Cri::CommandRunner
- Nanoc::CLI::CommandRunner
- Nanoc::CLI::Commands::Shell
- Defined in:
- lib/nanoc/cli/commands/shell.rb
Instance Method Summary (collapse)
Methods inherited from Nanoc::CLI::CommandRunner
#call, call, #debug?, #is_in_site_dir?, #load_site, #require_site, #site
Instance Method Details
- (Object) run
14 15 16 17 18 19 20 |
# File 'lib/nanoc/cli/commands/shell.rb', line 14 def run require 'pry' require_site Nanoc::Context.new(env).pry end |