Exception: FoxTail::InvalidIconSet
- Defined in:
- lib/fox_tail/errors.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, msg = nil) ⇒ InvalidIconSet
constructor
A new instance of InvalidIconSet.
Constructor Details
#initialize(name, msg = nil) ⇒ InvalidIconSet
Returns a new instance of InvalidIconSet.
43 44 45 46 |
# File 'lib/fox_tail/errors.rb', line 43 def initialize(name, msg = nil) @name = name super(msg || "The icon set '#{name}' has not been registered. Make sure to add it to your FoxTail configuration.") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
41 42 43 |
# File 'lib/fox_tail/errors.rb', line 41 def name @name end |