Class: Co2::Generators::Base

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/co2.rb

Direct Known Subclasses

InstallGenerator

Class Method Summary collapse

Class Method Details

.source_rootObject



7
8
9
# File 'lib/generators/co2.rb', line 7

def self.source_root
  @_co2_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'co2', generator_name, 'templates'))
end