Exception: Pupu::AssetNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Pupu::AssetNotFound
- Defined in:
- lib/pupu/exceptions.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ AssetNotFound
constructor
A new instance of AssetNotFound.
Constructor Details
#initialize(path) ⇒ AssetNotFound
Returns a new instance of AssetNotFound.
21 22 23 24 |
# File 'lib/pupu/exceptions.rb', line 21 def initialize(path) @path = path @message = "File #{@path} doesn't exist." end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
20 21 22 |
# File 'lib/pupu/exceptions.rb', line 20 def @message end |
#path ⇒ Object
Returns the value of attribute path.
20 21 22 |
# File 'lib/pupu/exceptions.rb', line 20 def path @path end |