Module: Thor::Actions
- Included in:
- Angus::CommandProcessor
- Defined in:
- lib/angus/generator/thor/resource.rb,
lib/angus/generator/thor/new_project.rb
Defined Under Namespace
Classes: NewProject, Resource
Instance Method Summary collapse
-
#new_project(name, config = {}) ⇒ Object
Creates a new project.
-
#resource(name, actions, config = {}) ⇒ Object
Creates a new resource.
Instance Method Details
#new_project(name, config = {}) ⇒ Object
Creates a new project.
16 17 18 |
# File 'lib/angus/generator/thor/new_project.rb', line 16 def new_project(name, config = {}) action NewProject.new(self, name, config) end |