Class: Merb::Generators::VeryThinSliceGenerator

Inherits:
BaseSliceGenerator show all
Defined in:
lib/generators/very_thin.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseSliceGenerator

common_template

Class Method Details

.source_rootObject



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_rootObject



25
26
27
# File 'lib/generators/very_thin.rb', line 25

def destination_root
  File.join(@destination_root, base_name)
end