Exception: Coradoc::IncludeNotFoundError
- Defined in:
- lib/coradoc/errors.rb
Overview
Error raised when an include directive’s target cannot be located. Honors the missing_include policy: :error raises this; :warn, :silent, and :passthrough swallow it.
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(target) ⇒ IncludeNotFoundError
constructor
A new instance of IncludeNotFoundError.
Constructor Details
#initialize(target) ⇒ IncludeNotFoundError
Returns a new instance of IncludeNotFoundError.
292 293 294 295 |
# File 'lib/coradoc/errors.rb', line 292 def initialize(target) @target = target super("Include target not found: #{target}") end |
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target.
290 291 292 |
# File 'lib/coradoc/errors.rb', line 290 def target @target end |