Class: RailsGraph::Graph::Nodes::Pack
- Inherits:
-
RailsGraph::Graph::Node
- Object
- Entity
- RailsGraph::Graph::Node
- RailsGraph::Graph::Nodes::Pack
- Defined in:
- lib/rails_graph/graph/nodes/pack.rb
Instance Attribute Summary collapse
-
#pack_owner ⇒ Object
readonly
Returns the value of attribute pack_owner.
Attributes inherited from RailsGraph::Graph::Node
Attributes inherited from Entity
Instance Method Summary collapse
- #identifier ⇒ Object
-
#initialize(name, owner) ⇒ Pack
constructor
A new instance of Pack.
Methods inherited from RailsGraph::Graph::Node
Constructor Details
#initialize(name, owner) ⇒ Pack
Returns a new instance of Pack.
11 12 13 14 15 |
# File 'lib/rails_graph/graph/nodes/pack.rb', line 11 def initialize(name, owner) @pack_owner = owner super(labels: "Pack", name: name, properties: build_properties) end |
Instance Attribute Details
#pack_owner ⇒ Object (readonly)
Returns the value of attribute pack_owner.
9 10 11 |
# File 'lib/rails_graph/graph/nodes/pack.rb', line 9 def pack_owner @pack_owner end |
Instance Method Details
#identifier ⇒ Object
17 18 19 |
# File 'lib/rails_graph/graph/nodes/pack.rb', line 17 def identifier name end |