Class: EmberjsCouchapp::AppGenerator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- EmberjsCouchapp::AppGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/emberjs-couchapp/app_generator.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
19 20 21 22 |
# File 'lib/emberjs-couchapp/app_generator.rb', line 19 def create self.destination_root = File.(path, destination_root) directory '.' end |
#name ⇒ Object
11 12 13 |
# File 'lib/emberjs-couchapp/app_generator.rb', line 11 def name File.basename(path) end |
#title ⇒ Object
15 16 17 |
# File 'lib/emberjs-couchapp/app_generator.rb', line 15 def title name.capitalize end |