Class: Mongoid::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Mongoid::Generators::Base
- Defined in:
- lib/generators/mongoid.rb
Overview
:nodoc:
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.source_root ⇒ Object
8 9 10 11 |
# File 'lib/generators/mongoid.rb', line 8 def self.source_root @_mongoid_source_root ||= File.(File.join(File.dirname(__FILE__), base_name, generator_name, 'templates')) end |