Class: Hanami::CLI::Commands::App::Generate::View Private
- Inherits:
-
Command
- Object
- Dry::CLI::Command
- Hanami::CLI::Command
- Command
- Hanami::CLI::Commands::App::Generate::View
- Defined in:
- lib/hanami/cli/commands/app/generate/view.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.
Instance Method Summary collapse
- #call(name:, slice: nil, template_engine: nil, force: false, **opts) ⇒ Object private
- #generator_class ⇒ Object private
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(name:, slice: nil, template_engine: nil, force: false, **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.
42 43 44 |
# File 'lib/hanami/cli/commands/app/generate/view.rb', line 42 def call(name:, slice: nil, template_engine: nil, force: false, **opts) super(name:, slice:, template_engine: template_engine || default_template_engine, force: force) 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.
36 37 38 |
# File 'lib/hanami/cli/commands/app/generate/view.rb', line 36 def generator_class Generators::App::View end |