fork download
  1. class Node
  2. def initialize(nextNode)
  3. @nextNode = nextNode
  4. end
  5.  
  6. def getNext
  7. exit @nextNode
  8. end
  9.  
  10. end
Success #stdin #stdout 0.01s 7408KB
stdin
Standard input is empty
stdout
Standard output is empty