Exception: Mgmg::InvalidReinforcementNameError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mgmg/utils.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



114
115
116
# File 'lib/mgmg/utils.rb', line 114

def name
  @name
end