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

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

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

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

Since:

  • 2.0.0



22
23
24
25
26
# File 'lib/hanami/cli/generators/app/view.rb', line 22

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