Method: Mgmg::InvalidSmithError#initialize
- Defined in:
- lib/mgmg/utils.rb
#initialize(str) ⇒ InvalidSmithError
Returns a new instance of InvalidSmithError.
89 90 91 92 |
# File 'lib/mgmg/utils.rb', line 89 def initialize(str) @recipe = str super("`#{@recipe}' is not a valid recipe for smithing") end |