Class: Merb::Generators::ThinSliceGenerator

Inherits:
BaseSliceGenerator show all
Defined in:
lib/generators/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/thin.rb', line 5

def self.source_root
  File.join(File.dirname(__FILE__), 'templates', 'thin')
end

Instance Method Details

#destination_rootObject



28
29
30
# File 'lib/generators/thin.rb', line 28

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