Class: Merb::Generators::VeryThinSliceGenerator
- Inherits:
-
BaseSliceGenerator
- Object
- NamedGenerator
- BaseSliceGenerator
- Merb::Generators::VeryThinSliceGenerator
- Defined in:
- lib/generators/very_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/very_thin.rb', line 5 def self.source_root File.join(File.dirname(__FILE__), 'templates', 'very_thin') end |
Instance Method Details
#destination_root ⇒ Object
25 26 27 |
# File 'lib/generators/very_thin.rb', line 25 def destination_root File.join(@destination_root, base_name) end |