Class: Bowline::Generators::ApplicationGenerator
- Inherits:
-
NamedGenerator
- Object
- Templater::Generator
- Generator
- NamedGenerator
- Bowline::Generators::ApplicationGenerator
- Defined in:
- lib/bowline/generators/application.rb
Instance Method Summary collapse
Methods inherited from NamedGenerator
#class_name, #file_name, #initialize, #symbol_name
Methods inherited from Generator
chmod, #shebang, source_root, touch, #with_modules
Constructor Details
This class inherits a constructor from Bowline::Generators::NamedGenerator
Instance Method Details
#app_id ⇒ Object
7 8 9 |
# File 'lib/bowline/generators/application.rb', line 7 def app_id ["bowline", name].join(".") end |
#destination_root ⇒ Object
11 12 13 14 |
# File 'lib/bowline/generators/application.rb', line 11 def destination_root # TODO - only works relative File.join(@destination_root, base_name) end |
#full_name ⇒ Object
16 17 18 |
# File 'lib/bowline/generators/application.rb', line 16 def full_name File.basename(name).camel_case end |