Exception: Menuella::FoodSafety::UnknownIconError
- Defined in:
- lib/menuella/food_safety.rb
Overview
The name has no glyph. FoodSafety.icon_names lists the ones that do.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownIconError
constructor
A new instance of UnknownIconError.
Constructor Details
#initialize(name) ⇒ UnknownIconError
Returns a new instance of UnknownIconError.
46 47 48 49 |
# File 'lib/menuella/food_safety.rb', line 46 def initialize(name) @name = name super("no icon named #{name.inspect}") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
44 45 46 |
# File 'lib/menuella/food_safety.rb', line 44 def name @name end |