Exception: Healthicons::Errors::UnknownIcon
- Inherits:
-
StandardError
- Object
- StandardError
- Healthicons::Errors::UnknownIcon
- Defined in:
- lib/healthicons/errors.rb
Instance Method Summary collapse
-
#initialize(icon = '') ⇒ String
constructor
Create an error for an unknwon icon.
Constructor Details
#initialize(icon = '') ⇒ String
Create an error for an unknwon icon
10 11 12 13 |
# File 'lib/healthicons/errors.rb', line 10 def initialize(icon = '') msg = "The #{icon} icon could not be found." super(msg) end |