Exception: FoxTail::AssetNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/fox_tail/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#assetObject (readonly)

Returns the value of attribute asset.



7
8
9
# File 'lib/fox_tail/errors.rb', line 7

def asset
  @asset
end