Class: RailsGraph::Commands::Builders::Associations
- Inherits:
-
Object
- Object
- RailsGraph::Commands::Builders::Associations
- Defined in:
- lib/rails_graph/commands/builders/associations.rb
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
-
#inspector ⇒ Object
readonly
Returns the value of attribute inspector.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
7 8 9 |
# File 'lib/rails_graph/commands/builders/associations.rb', line 7 def graph @graph end |
#inspector ⇒ Object (readonly)
Returns the value of attribute inspector.
7 8 9 |
# File 'lib/rails_graph/commands/builders/associations.rb', line 7 def inspector @inspector end |
Class Method Details
.enrich ⇒ Object
9 10 11 |
# File 'lib/rails_graph/commands/builders/associations.rb', line 9 def self.enrich(...) new(...).enrich end |
Instance Method Details
#enrich ⇒ Object
13 14 15 |
# File 'lib/rails_graph/commands/builders/associations.rb', line 13 def enrich build_associations_relationships end |