Class: Hanami::CLIBulma::Commands::App::Generate::Slice Private

Inherits:
Hanami::CLI::Commands::App::Generate::Slice
  • Object
show all
Defined in:
lib/hanami/cli_bulma/commands/app/generate/slice.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.

Since:

  • 0.0.1

Instance Method Summary collapse

Constructor Details

#initialize(fs:, inflector:, generator: Generators::App::Slice.new(fs: fs, inflector: inflector), **opts) ⇒ Slice

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.

Returns a new instance of Slice.

Since:

  • 0.0.1



14
15
16
17
18
19
20
21
# File 'lib/hanami/cli_bulma/commands/app/generate/slice.rb', line 14

def initialize(
  fs:, inflector:,
  generator: Generators::App::Slice.new(fs: fs, inflector: inflector),
  **opts
)
  super(fs: fs, inflector: inflector, generator: generator, **opts)
  @generator = generator
end