Class: Adhearsion::CLI::UnknownGeneratorError
- Defined in:
- lib/adhearsion/cli_commands/thor_errors.rb
Instance Method Summary collapse
-
#initialize(gentype) ⇒ UnknownGeneratorError
constructor
A new instance of UnknownGeneratorError.
Constructor Details
#initialize(gentype) ⇒ UnknownGeneratorError
Returns a new instance of UnknownGeneratorError.
18 19 20 21 |
# File 'lib/adhearsion/cli_commands/thor_errors.rb', line 18 def initialize(gentype) puts "Please specify generator to use (#{Adhearsion::Generators.mappings.keys.join(", ")})" super "Unknown command: #{gentype}" end |