Method: Hanami::CLI::Commands::Gem::New#initialize
- Defined in:
- lib/hanami/cli/commands/gem/new.rb
#initialize(fs:, bundler: CLI::Bundler.new(fs: fs), generator: Generators::Gem::App.new(fs: fs, inflector: inflector), system_call: 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.
125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/hanami/cli/commands/gem/new.rb', line 125 def initialize( fs:, bundler: CLI::Bundler.new(fs: fs), generator: Generators::Gem::App.new(fs: fs, inflector: inflector), system_call: SystemCall.new, **opts ) super(fs: fs, **opts) @bundler = bundler @generator = generator @system_call = system_call end |