Class: Platforms::Core::UserGenerator
- Inherits:
-
Generators::Base
- Object
- Rails::Generators::NamedBase
- Generators::Base
- Platforms::Core::UserGenerator
- Defined in:
- lib/generators/platforms/core/user/user_generator.rb
Overview
Create a model, with Platforms::Core specific additions for the ‘User’ class that should be implemented by the parent application.
Instance Method Summary collapse
-
#concern_type ⇒ Object
Set the concern_type to user.
Methods inherited from Generators::Base
#add_concern_to_model, #create_migration, #create_model, #edit_initializer
Instance Method Details
#concern_type ⇒ Object
Set the concern_type to user.
13 14 15 |
# File 'lib/generators/platforms/core/user/user_generator.rb', line 13 def concern_type "user" end |