Class: Tapioca::Generators::Base

Inherits:
Object
  • Object
show all
Extended by:
T::Helpers, T::Sig
Includes:
Thor::Base
Defined in:
lib/tapioca/generators/base.rb

Direct Known Subclasses

Dsl, Gem, Init, Require, Todo

Defined Under Namespace

Classes: FileWriter

Instance Method Summary collapse

Constructor Details

#initialize(default_command:, file_writer: FileWriter.new) ⇒ Base

Returns a new instance of Base.


23
24
25
26
# File 'lib/tapioca/generators/base.rb', line 23

def initialize(default_command:, file_writer: FileWriter.new)
  @file_writer = file_writer
  @default_command = default_command
end

Instance Method Details

#generateObject


29
# File 'lib/tapioca/generators/base.rb', line 29

def generate; end