Class: DataMapper::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- DataMapper::Generators::Base
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/data_mapper.rb
Overview
:nodoc:
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.source_root ⇒ Object
12 13 14 15 |
# File 'lib/generators/data_mapper.rb', line 12 def self.source_root @_datamapper_source_root ||= File.("../#{base_name}/#{generator_name}/templates", __FILE__) end |