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, 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(build_message)
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

#guessObject (readonly)

Returns the value of attribute guess.



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

def guess
  @guess
end