Ruby syntax error, unexpected tIDENTIFIER, expecting end-of-input

This line was messing with my head. The puts doesn’t belong there are all!

ruby_tree.visit {|node| puts node.node_name} puts

Leave a Comment