Exception: Mgmg::InvalidEquipClassError
- Inherits:
-
StandardError
- Object
- StandardError
- Mgmg::InvalidEquipClassError
- Defined in:
- lib/mgmg/utils.rb
Instance Attribute Summary collapse
-
#equip ⇒ Object
Returns the value of attribute equip.
Instance Method Summary collapse
-
#initialize(str) ⇒ InvalidEquipClassError
constructor
A new instance of InvalidEquipClassError.
Constructor Details
#initialize(str) ⇒ InvalidEquipClassError
Returns a new instance of InvalidEquipClassError.
103 104 105 106 |
# File 'lib/mgmg/utils.rb', line 103 def initialize(str) @equip = str super("`#{@equip}' is not a valid equip class name") end |
Instance Attribute Details
#equip ⇒ Object
Returns the value of attribute equip.
107 108 109 |
# File 'lib/mgmg/utils.rb', line 107 def equip @equip end |