Sha256: c3e0f3f1faf7c668733c8a192b421f06acf64846fe60974109e45bed7d3db6d4
Contents?: true
Size: 545 Bytes
Versions: 20
Compression:
Stored size: 545 Bytes
Contents
module Roadie # Raised when a stylesheet specified for inlining is not present. # You can access the target filename via #filename. class CSSFileNotFound < StandardError attr_reader :filename, :guess def initialize(filename, guess = nil) @filename = filename @guess = guess super(build_message) end private def build_message if guess "Could not find #{filename} (guessed from #{guess.inspect})" else "Could not find #{filename}" end end end end
Version data entries
20 entries across 20 versions & 2 rubygems