Methods

Class/Module Index [+]

Quicksearch

Nanoc::Errors::NoSuchSnapshot

Error that is raised when the compiled content at a non-existing snapshot is requested.

Attributes

item_rep[R]

@return [Nanoc::ItemRep] The item rep from which the compiled content

was requested
snapshot[R]

@return [Symbol] The requested snapshot

Public Class Methods

new(item_rep, snapshot) click to toggle source

@param [Nanoc::ItemRep] item_rep The item rep from which the compiled

content was requested

@param [Symbol] snapshot The requested snapshot

# File lib/nanoc/base/errors.rb, line 183
def initialize(item_rep, snapshot)
  @item_rep, @snapshot = item_rep, snapshot
  super("The “#{item_rep.inspect}” item rep does not have a snapshot “#{snapshot.inspect}”")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.