Class: Hanami::CLI::Commands::New::App Private

Inherits:
Generate::App show all
Defined in:
lib/hanami/cli/commands/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:

  • 1.1.0

Instance Method Summary collapse

Methods inherited from Generate::App

#call

Methods inherited from Command

inherited

Constructor Details

#initialize(*args, **kwargs) ⇒ App

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

Since:

  • 1.1.0



568
569
570
571
# File 'lib/hanami/cli/commands/new.rb', line 568

def initialize(*args, **kwargs)
  super(*args, **kwargs)
  @templates = Templates.new(self.class.superclass)
end