Class: Platforms::Core::NetworkGenerator
- Inherits:
-
Generators::Base
- Object
- Rails::Generators::NamedBase
- Generators::Base
- Platforms::Core::NetworkGenerator
- Defined in:
- lib/generators/platforms/core/network/network_generator.rb
Overview
Create a model, with Platforms::Core specific additions for the ‘Network’ class that should be implemented by the parent application.
Instance Method Summary collapse
-
#concern_type ⇒ Object
Set the concern_type to network.
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 network
13 14 15 |
# File 'lib/generators/platforms/core/network/network_generator.rb', line 13 def concern_type "network" end |