Exception: FoxTail::InvalidIconSetVariant
- Defined in:
- lib/fox_tail/errors.rb
Instance Attribute Summary collapse
-
#icon_set ⇒ Object
readonly
Returns the value of attribute icon_set.
-
#variant ⇒ Object
readonly
Returns the value of attribute variant.
Instance Method Summary collapse
-
#initialize(icon_set, variant, msg = nil) ⇒ InvalidIconSetVariant
constructor
A new instance of InvalidIconSetVariant.
Constructor Details
#initialize(icon_set, variant, msg = nil) ⇒ InvalidIconSetVariant
Returns a new instance of InvalidIconSetVariant.
52 53 54 55 56 |
# File 'lib/fox_tail/errors.rb', line 52 def initialize(icon_set, variant, msg = nil) @icon_set = icon_set @variant = variant super(msg || "Unknown variant #{variant} for #{icon_set} icon set.") end |
Instance Attribute Details
#icon_set ⇒ Object (readonly)
Returns the value of attribute icon_set.
50 51 52 |
# File 'lib/fox_tail/errors.rb', line 50 def icon_set @icon_set end |
#variant ⇒ Object (readonly)
Returns the value of attribute variant.
50 51 52 |
# File 'lib/fox_tail/errors.rb', line 50 def variant @variant end |