class Node
Public Instance Methods
reverse() { |self| ... }
click to toggle source
# File lib/node/node.rb, line 3 def reverse(&block) if self.next != nil self.next.reverse(&block) end yield self end
# File lib/node/node.rb, line 3 def reverse(&block) if self.next != nil self.next.reverse(&block) end yield self end