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'

  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    => site,
    :items   => site.items,
    :layouts => site.layouts,
    :config  => site.config
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.