Exception: Hairballs::ThemeUseFailure
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Hairballs::ThemeUseFailure
- Defined in:
- lib/hairballs/exceptions.rb
Overview
Used when Hairballs tries to load theme, but the theme could not be loaded.
Instance Method Summary collapse
-
#initialize(theme_name) ⇒ ThemeUseFailure
constructor
A new instance of ThemeUseFailure.
Constructor Details
#initialize(theme_name) ⇒ ThemeUseFailure
Returns a new instance of ThemeUseFailure.
21 22 23 24 |
# File 'lib/hairballs/exceptions.rb', line 21 def initialize(theme_name) = "Theme not found: :#{theme_name}." super() end |