Class: Playwright::CLI::Commands::Generate
- Inherits:
-
Hanami::CLI::Command
- Object
- Hanami::CLI::Command
- Playwright::CLI::Commands::Generate
- Defined in:
- lib/playwright/cli/commands/generate.rb,
lib/playwright/cli/commands/generate/command.rb
Defined Under Namespace
Classes: Command
Instance Method Summary collapse
Instance Method Details
#call(name:, expanded:) ⇒ Object
18 19 20 |
# File 'lib/playwright/cli/commands/generate.rb', line 18 def call(name:, expanded:, **) Command.run(name, type()) end |
#type(expanded) ⇒ Object
22 23 24 |
# File 'lib/playwright/cli/commands/generate.rb', line 22 def type ? :expanded : :simple end |