Class: Merb::Generators::MerbVeryFlatGenerator
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_very_flat.rb', line 5
def self.source_root
File.join(super, 'merb_very_flat')
end
|
Instance Method Details
#app_name ⇒ Object
21
22
23
|
# File 'lib/merb-gen/merb/merb_very_flat.rb', line 21
def app_name
self.name.snake_case
end
|
#class_name ⇒ Object
25
26
27
|
# File 'lib/merb-gen/merb/merb_very_flat.rb', line 25
def class_name
self.name.camel_case
end
|