Class: RailsGraph::Graph::Relationships::PackDependency
- Inherits:
-
RailsGraph::Graph::Relationship
- Object
- Entity
- RailsGraph::Graph::Relationship
- RailsGraph::Graph::Relationships::PackDependency
- Defined in:
- lib/rails_graph/graph/relationships/pack_dependency.rb
Instance Attribute Summary
Attributes inherited from RailsGraph::Graph::Relationship
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(source, target) ⇒ PackDependency
constructor
A new instance of PackDependency.
Methods inherited from RailsGraph::Graph::Relationship
Methods inherited from Entity
Constructor Details
#initialize(source, target) ⇒ PackDependency
Returns a new instance of PackDependency.
9 10 11 12 13 14 15 16 |
# File 'lib/rails_graph/graph/relationships/pack_dependency.rb', line 9 def initialize(source, target) super( source: source, target: target, label: "DependsOnPack", name: target.name ) end |