Class: Merb::Generators::MerbPluginGenerator
- Inherits:
-
NamedGenerator
- Object
- Templater::Generator
- Generator
- NamedGenerator
- Merb::Generators::MerbPluginGenerator
- Defined in:
- lib/generators/merb_plugin.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from NamedGenerator
#class_name, #file_name, #symbol_name, #test_class_name
Methods inherited from Generator
#go_up, #initialize, #with_modules
Constructor Details
This class inherits a constructor from Merb::Generators::Generator
Class Method Details
.source_root ⇒ Object
5 6 7 |
# File 'lib/generators/merb_plugin.rb', line 5 def self.source_root File.join(super, 'application', 'merb_plugin') end |
Instance Method Details
#destination_root ⇒ Object
21 22 23 |
# File 'lib/generators/merb_plugin.rb', line 21 def destination_root File.join(@destination_root, base_name) end |