Exception: Roadie::CSSFileNotFound

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ CSSFileNotFound

Returns a new instance of CSSFileNotFound.



7
8
9
10
# File 'lib/roadie/css_file_not_found.rb', line 7

def initialize(filename)
  @filename = filename
  super("Could not find #{filename}")
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



5
6
7
# File 'lib/roadie/css_file_not_found.rb', line 5

def filename
  @filename
end