Exception: FoxTail::AssetNotFound
- Defined in:
- lib/fox_tail/errors.rb
Instance Attribute Summary collapse
-
#asset ⇒ Object
readonly
Returns the value of attribute asset.
Instance Method Summary collapse
-
#initialize(asset, msg = "Could not find the asset \"#{asset}\"") ⇒ AssetNotFound
constructor
A new instance of AssetNotFound.
Constructor Details
#initialize(asset, msg = "Could not find the asset \"#{asset}\"") ⇒ AssetNotFound
Returns a new instance of AssetNotFound.
9 10 11 12 |
# File 'lib/fox_tail/errors.rb', line 9 def initialize(asset, msg = "Could not find the asset \"#{asset}\"") super(msg) @asset = asset end |
Instance Attribute Details
#asset ⇒ Object (readonly)
Returns the value of attribute asset.
7 8 9 |
# File 'lib/fox_tail/errors.rb', line 7 def asset @asset end |