Exception: Proscenium::MissingAssetError

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

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MissingAssetError

Returns a new instance of MissingAssetError.



51
52
53
54
# File 'lib/proscenium.rb', line 51

def initialize(path)
  super
  @path = path
end

Instance Method Details

#messageObject



56
57
58
# File 'lib/proscenium.rb', line 56

def message
  "The asset '#{@path}' was not found."
end