Skip to content

Commit 14c1314

Browse files
committed
Remove unused method
The DOT::DOTElement.parent method has been commented out since its initial addition in 2006 in 3e3f70e. The Rubucop Layout/LeadingCommentSpace cop flagged it. Instead of addressing that layout issue, this commit removes the method entirely.
1 parent 8b3e5c8 commit 14c1314

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/puppet/external/dot.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ def each_option
151151
def each_option_pair
152152
@options.each_pair{ |key, val| yield key, val }
153153
end
154-
155-
#def parent=( thing )
156-
# @parent.delete( self ) if defined?( @parent ) and @parent
157-
# @parent = thing
158-
#end
159154
end
160155

161156
# This is used when we build nodes that have shape=record

0 commit comments

Comments
 (0)