Exception: Curlybars::Error::Presenter::NotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Curlybars::Error::Presenter::NotFound
- Defined in:
- lib/curlybars/error/presenter/not_found.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Constructor Details
#initialize(path) ⇒ NotFound
Returns a new instance of NotFound.
7 8 9 |
# File 'lib/curlybars/error/presenter/not_found.rb', line 7 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/curlybars/error/presenter/not_found.rb', line 5 def path @path end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/curlybars/error/presenter/not_found.rb', line 11 def "error compiling `#{path}`: could not find #{presenter_class_name}" end |