Exception: Roadie::CSSFileNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Roadie::CSSFileNotFound
- Defined in:
- lib/roadie/css_file_not_found.rb
Overview
Raised when a stylesheet specified for inlining is not present. You can access the target filename via #filename.
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#guess ⇒ Object
readonly
Returns the value of attribute guess.
Instance Method Summary collapse
-
#initialize(filename, guess = nil) ⇒ CSSFileNotFound
constructor
A new instance of CSSFileNotFound.
Constructor Details
#initialize(filename, guess = nil) ⇒ CSSFileNotFound
Returns a new instance of CSSFileNotFound.
7 8 9 10 11 |
# File 'lib/roadie/css_file_not_found.rb', line 7 def initialize(filename, guess = nil) @filename = filename @guess = guess super() end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
5 6 7 |
# File 'lib/roadie/css_file_not_found.rb', line 5 def filename @filename end |
#guess ⇒ Object (readonly)
Returns the value of attribute guess.
5 6 7 |
# File 'lib/roadie/css_file_not_found.rb', line 5 def guess @guess end |