Class: GitDag::TagNode
Instance Attribute Summary
Attributes inherited from Node
#dot_node, #id, #label, #parents
Instance Method Summary collapse
-
#initialize(id, dot_node, label, parents) ⇒ TagNode
constructor
A new instance of TagNode.
Constructor Details
#initialize(id, dot_node, label, parents) ⇒ TagNode
Returns a new instance of TagNode.
3 4 5 6 7 8 |
# File 'lib/git-dag/tag_node.rb', line 3 def initialize(id, dot_node, label, parents) @id = id @dot_node = dot_node[0,6] @label = label @parents = parents end |