Class: Zashoku::Generator::AppGenerator

Inherits:
Generator
  • Object
show all
Defined in:
lib/generator/app_generator.rb

Instance Attribute Summary

Attributes inherited from Generator

#generated

Instance Method Summary collapse

Methods inherited from Generator

#initialize, #pairs, #refactor, #transfer

Constructor Details

This class inherits a constructor from Zashoku::Generator::Generator

Instance Method Details

#generate!Object



6
7
8
9
# File 'lib/generator/app_generator.rb', line 6

def generate!
  generated << transfer('app', @name_path)
  generated << transfer('module', Pathname.new(File.join(@name_path, 'modules', @name)))
end