Class: Bowline::Generators::ApplicationGenerator
Instance Method Summary
collapse
#class_name, #file_name, #initialize, #symbol_name
Methods inherited from Generator
source_root, #with_modules
Instance Method Details
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
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
|