Class: Hanami::CLIBulma::Commands::Gem::New Private

Inherits:
Hanami::CLI::Commands::Gem::New
  • Object
show all
Defined in:
lib/hanami/cli_bulma/commands/gem/new.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:

  • 2.0.0

Instance Method Summary collapse

Constructor Details

#initialize(fs:, inflector:, bundler: CLIBulma::Bundler.new(fs: fs), generator: Generators::Gem::App.new(fs: fs, inflector: inflector), system_call: Hanami::CLI::SystemCall.new, **opts) ⇒ New

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 New.

Since:

  • 2.0.0



12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/hanami/cli_bulma/commands/gem/new.rb', line 12

def initialize(
  fs:, inflector:,
  bundler: CLIBulma::Bundler.new(fs: fs),
  generator: Generators::Gem::App.new(fs: fs, inflector: inflector),
  system_call: Hanami::CLI::SystemCall.new,
  **opts
)
  super(fs: fs, inflector: inflector, **opts)
  @bundler = bundler
  @generator = generator
  @system_call = system_call
end