Exception: Mack::Errors::RequiredGeneratorParameterMissing
- Inherits:
-
StandardError
- Object
- StandardError
- Mack::Errors::RequiredGeneratorParameterMissing
- Defined in:
- lib/mack/errors/errors.rb
Overview
Raised if a Mack::Generator::Base required parameter is not supplied.
Instance Method Summary collapse
-
#initialize(name) ⇒ RequiredGeneratorParameterMissing
constructor
Takes the name of the missing parameter.
Constructor Details
#initialize(name) ⇒ RequiredGeneratorParameterMissing
Takes the name of the missing parameter.
86 87 88 |
# File 'lib/mack/errors/errors.rb', line 86 def initialize(name) super("The required parameter '#{name.to_s.upcase}' is missing for this generator!") end |