Exception: Mgmg::InvalidReinforcementNameError
- Inherits:
-
StandardError
- Object
- StandardError
- Mgmg::InvalidReinforcementNameError
- Defined in:
- lib/mgmg/utils.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(str) ⇒ InvalidReinforcementNameError
constructor
A new instance of InvalidReinforcementNameError.
Constructor Details
#initialize(str) ⇒ InvalidReinforcementNameError
Returns a new instance of InvalidReinforcementNameError.
110 111 112 113 |
# File 'lib/mgmg/utils.rb', line 110 def initialize(str) @name = str super("Unknown skill or preset cuisine name `#{@name}' is given.") end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
114 115 116 |
# File 'lib/mgmg/utils.rb', line 114 def name @name end |