Exception: Mgmg::InvalidRecipeError

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

Instance Method Summary collapse

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