Class: Merb::Generators::ThinSliceGenerator
- Inherits:
-
BaseSliceGenerator
- Object
- NamedGenerator
- BaseSliceGenerator
- Merb::Generators::ThinSliceGenerator
- Defined in:
- lib/generators/thin.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from BaseSliceGenerator
Class Method Details
.source_root ⇒ Object
5 6 7 |
# File 'lib/generators/thin.rb', line 5 def self.source_root File.join(File.dirname(__FILE__), 'templates', 'thin') end |
Instance Method Details
#destination_root ⇒ Object
28 29 30 |
# File 'lib/generators/thin.rb', line 28 def destination_root File.join(@destination_root, base_name) end |