Class: Auditor::Generators::Base

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/auditor.rb

Class Method Summary collapse

Class Method Details

.source_rootObject



4
5
6
# File 'lib/generators/auditor.rb', line 4

def self.source_root
  File.expand_path(File.join(File.dirname(__FILE__), 'auditor', generator_name, 'templates'))
end