Exception: Mgmg::InvalidRecipeError
- Inherits:
-
StandardError
- Object
- StandardError
- Mgmg::InvalidRecipeError
- Defined in:
- lib/mgmg/utils.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ InvalidRecipeError
constructor
A new instance of InvalidRecipeError.
Constructor Details
#initialize(msg = nil) ⇒ InvalidRecipeError
Returns a new instance of InvalidRecipeError.
117 118 119 120 121 122 123 |
# File 'lib/mgmg/utils.rb', line 117 def initialize(msg=nil) if msg.nil? super("Neither String nor Enumerable recipe was set.") else super(msg) end end |