class Nanoc::Core::Errors::UnmetDependency
Error
that is raised when an rep cannot be compiled because it depends on other representations.
Attributes
rep[R]
@return [Nanoc::Core::ItemRep] The item representation that cannot yet be
compiled
snapshot_name[R]
@return [Symbol] The name of the snapshot that cannot yet be compiled
Public Class Methods
new(rep, snapshot_name)
click to toggle source
@param [Nanoc::Core::ItemRep] rep The item representation that cannot yet be
compiled
Calls superclass method
# File lib/nanoc/core/errors.rb, line 64 def initialize(rep, snapshot_name) @rep = rep @snapshot_name = snapshot_name super("The current item cannot be compiled yet because of an unmet dependency on the “#{rep.item.identifier}” item (rep “#{rep.name}”, snapshot “#{snapshot_name}”).") end