Exception: Roadie::CssNotFound
- Defined in:
- lib/roadie/errors.rb
Overview
Raised when an asset provider cannot find a stylesheet.
If you are writing your own asset provider, make sure to raise this in the #find_stylesheet!
method.
Instance Attribute Summary collapse
-
#css_name ⇒ Object
readonly
The name of the stylesheet that cannot be found.
Instance Method Summary collapse
-
#initialize(css_name, extra_message = nil) ⇒ CssNotFound
constructor
A new instance of CssNotFound.
Constructor Details
#initialize(css_name, extra_message = nil) ⇒ CssNotFound
Returns a new instance of CssNotFound.
43 44 45 46 |
# File 'lib/roadie/errors.rb', line 43 def initialize(css_name, = nil) @css_name = css_name super () end |
Instance Attribute Details
#css_name ⇒ Object (readonly)
The name of the stylesheet that cannot be found
41 42 43 |
# File 'lib/roadie/errors.rb', line 41 def css_name @css_name end |