Methods

Class/Module Index [+]

Quicksearch

Nanoc::CLI::Commands::Shell

Public Instance Methods

run() click to toggle source
# File lib/nanoc/cli/commands/shell.rb, line 13
def run
  require 'pry'

  self.require_site

  Nanoc::Context.new(env).pry
end

Protected Instance Methods

env() click to toggle source
# File lib/nanoc/cli/commands/shell.rb, line 23
def env
  {
    :site    => self.site,
    :items   => self.site.items,
    :layouts => self.site.layouts,
    :config  => self.site.config
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.