Class: DataMapper::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- DataMapper::Generators::Base
- Includes:
- Rails3Generators::MigrationHelper
- Defined in:
- lib/generators/data_mapper.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Attribute Summary
Attributes included from Rails3Generators::MigrationHelper
Class Method Summary collapse
-
.source_root ⇒ Object
include Rails::Generators::Migration.
Methods included from Rails3Generators::MigrationHelper
Class Method Details
.source_root ⇒ Object
include Rails::Generators::Migration
13 14 15 16 |
# File 'lib/generators/data_mapper.rb', line 13 def self.source_root @_datamapper_source_root ||= File.(File.join(File.dirname(__FILE__), 'data_mapper', generator_name, 'templates')) end |