Exception: Mack::Errors::RequiredGeneratorParameterMissing

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mack/errors/errors.rb

Overview

Raised if a Mack::Generator::Base required parameter is not supplied.

Instance Method Summary collapse

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