Exception: Nanoc3::Errors::UnmetDependency

Inherits:
Generic
  • Object
show all
Defined in:
lib/nanoc3/base/errors.rb

Overview

Error that is raised when an rep cannot be compiled because it depends on other representations.

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (UnmetDependency) initialize(rep)

compiled

Parameters:



134
135
136
137
# File 'lib/nanoc3/base/errors.rb', line 134

def initialize(rep)
  @rep = rep
  super("The current item cannot be compiled yet because of an unmet dependency on the “#{rep.item.identifier}” item (rep “#{rep.name}”).".make_compatible_with_env)
end

Instance Attribute Details

- (Nanoc3::ItemRep) rep (readonly)

compiled

Returns:



130
131
132
# File 'lib/nanoc3/base/errors.rb', line 130

def rep
  @rep
end