Module: PublicActivity::Generators::Base
- Included in:
- MigrationGenerator, MigrationUpgradeGenerator
- Defined in:
- lib/generators/public_activity.rb
Overview
A base module
Instance Method Summary collapse
-
#source_root ⇒ Object
Get path for migration template.
Instance Method Details
#source_root ⇒ Object
Get path for migration template
11 12 13 |
# File 'lib/generators/public_activity.rb', line 11 def source_root @_public_activity_source_root ||= File.(File.join('../public_activity', generator_name, 'templates'), __FILE__) end |