Class: Pressman::Generator::App
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Pressman::Generator::App
- Includes:
- Thor::Actions
- Defined in:
- lib/pressman/generator/app.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
10 11 12 |
# File 'lib/pressman/generator/app.rb', line 10 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#create_base_project ⇒ Object
14 15 16 17 |
# File 'lib/pressman/generator/app.rb', line 14 def create_base_project raise GeneratorArgumentsError if app_name.nil? directory "app", "#{app_name}" end |