Class: RolesGeneric::Generators::RolesGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- RolesGeneric::Generators::RolesGenerator
- Includes:
- RailsAssist::Artifact::Model
- Defined in:
- lib/generators/roles_generic/roles/roles_generator.rb
Instance Method Summary collapse
-
#apply_role_strategy ⇒ Object
hook_for :orm.
Instance Method Details
#apply_role_strategy ⇒ Object
hook_for :orm
18 19 20 21 22 |
# File 'lib/generators/roles_generic/roles/roles_generator.rb', line 18 def apply_role_strategy insert_into_model name do insertion_text end end |