Exception: Rehab::MissingPartialError
- Inherits:
-
StandardError
- Object
- StandardError
- Rehab::MissingPartialError
- Defined in:
- lib/rehab/missing_partial_error.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ MissingPartialError
constructor
A new instance of MissingPartialError.
- #message ⇒ Object
Constructor Details
#initialize(path) ⇒ MissingPartialError
Returns a new instance of MissingPartialError.
7 8 9 |
# File 'lib/rehab/missing_partial_error.rb', line 7 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/rehab/missing_partial_error.rb', line 4 def path @path end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/rehab/missing_partial_error.rb', line 12 def "Could not find #{path}" end |