Class: Commands

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/devutils.rb

Instance Method Summary collapse

Instance Method Details

#init(project_name) ⇒ Object



20
21
22
23
24
# File 'lib/devutils.rb', line 20

def init(project_name)
  @project_name = project_name
  Commands.source_root(File.expand_path('../..', __FILE__))
  directory('template', project_name)
end