Method: Hanami::CLI::Generators::App::Part#initialize

Defined in:
lib/hanami/cli/generators/app/part.rb

#initialize(fs:, inflector:, out: $stdout) ⇒ Part

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

Since:

  • 2.1.0



15
16
17
18
19
# File 'lib/hanami/cli/generators/app/part.rb', line 15

def initialize(fs:, inflector:, out: $stdout)
  @fs = fs
  @inflector = inflector
  @out = out
end