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.
18 19 20 21 |
# File 'lib/pupu/exceptions.rb', line 18 def initialize(path) @path = path @message = "File #{@path} doesn't exist." end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
17 18 19 |
# File 'lib/pupu/exceptions.rb', line 17 def @message end |
#path ⇒ Object
Returns the value of attribute path.
17 18 19 |
# File 'lib/pupu/exceptions.rb', line 17 def path @path end |