Class: GitDag::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/git-dag/node.rb

Direct Known Subclasses

CommitNode, FakeHead, TagNode

Instance Attribute Summary collapse

Instance Attribute Details

#dot_nodeObject

Returns the value of attribute dot_node.



3
4
5
# File 'lib/git-dag/node.rb', line 3

def dot_node
  @dot_node
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/git-dag/node.rb', line 3

def id
  @id
end

#labelObject

Returns the value of attribute label.



3
4
5
# File 'lib/git-dag/node.rb', line 3

def label
  @label
end

#parentsObject

Returns the value of attribute parents.



3
4
5
# File 'lib/git-dag/node.rb', line 3

def parents
  @parents
end