Class: ActiveModel::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveModel::Generators::Base
- Defined in:
- lib/generators/active_model.rb
Overview
:nodoc:
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.source_root ⇒ Object
11 12 13 14 |
# File 'lib/generators/active_model.rb', line 11 def self.source_root @_activemodel_source_root ||= File.(File.join(File.dirname(__FILE__), 'active_model', generator_name, 'templates')) end |