Class: Merb::Generators::MerbFullGenerator
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Generator
#initialize, #with_modules
Class Method Details
.source_root ⇒ Object
5
6
7
|
# File 'lib/merb-gen/merb/merb_full.rb', line 5
def self.source_root
File.join(super, 'merb')
end
|
Instance Method Details
#app_name ⇒ Object
23
24
25
|
# File 'lib/merb-gen/merb/merb_full.rb', line 23
def app_name
self.name.snake_case
end
|
#destination_root ⇒ Object
27
28
29
|
# File 'lib/merb-gen/merb/merb_full.rb', line 27
def destination_root
File.join(@destination_root, app_name)
end
|