Class: Hanami::CLI::Commands::App::Generate::Mailer Private
- Inherits:
-
Command
- Object
- Dry::CLI::Command
- Hanami::CLI::Command
- Command
- Hanami::CLI::Commands::App::Generate::Mailer
- Defined in:
- lib/hanami/cli/commands/app/generate/mailer.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- DEFAULT_TEMPLATE_ENGINE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"erb"
Instance Method Summary collapse
Methods inherited from Command
#app, #inflector, inherited, #measure, #run_command
Methods inherited from Hanami::CLI::Command
Constructor Details
This class inherits a constructor from Hanami::CLI::Command
Instance Method Details
#call(template_engine: nil, **opts) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 36 |
# File 'lib/hanami/cli/commands/app/generate/mailer.rb', line 33 def call(template_engine: nil, **opts) template_engine ||= default_template_engine super(template_engine:, **opts) end |
#generator_class ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
29 30 31 |
# File 'lib/hanami/cli/commands/app/generate/mailer.rb', line 29 def generator_class Generators::App::Mailer end |