Class: Qable::Generators::App::AppGenerator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Qable::Generators::App::AppGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/qable/generators/app/app_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
9 10 11 |
# File 'lib/qable/generators/app/app_generator.rb', line 9 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#create_base_dir ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/qable/generators/app/app_generator.rb', line 13 def create_base_dir self.destination_root = File.(name, destination_root) empty_directory '.' inside destination_root do create_readme create_gemfile create_rakefile create_config create_gitignore create_features_directory create_page_objects_directory create_reports_directory run_bundle end end |