Class: Platforms::Core::NetworkGenerator

Inherits:
Generators::Base
  • Object
show all
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

Methods inherited from Generators::Base

#add_concern_to_model, #create_migration, #create_model, #edit_initializer

Instance Method Details

#concern_typeObject

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