Class: AlterAdmin::Generators::Base

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

Direct Known Subclasses

ResourceGenerator

Class Method Summary collapse

Class Method Details

.source_rootObject



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

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