This line was messing with my head. The puts doesn’t belong there are all!
ruby_tree.visit {|node| puts node.node_name} puts
More Related Contents:
- Unexpected keyword_end error, yet syntax seems fine
- Invalid function in ruby
- Why is it bad style to `rescue Exception => e` in Ruby?
- === vs. == in Ruby
- How do I download a binary file over HTTP?
- How to write to file in Ruby?
- When to use symbols instead of strings in Ruby?
- ‘pass parameter by reference’ in Ruby?
- How to find an item in array which has the most occurrences [duplicate]
- Why are we installing Ruby 1.9.2/1.9.3 gems into a 1.9.1 folder?
- How to Uninstall RVM? [duplicate]
- Backslashes in single quoted strings vs. double quoted strings
- Is there any wisdom behind “and”, “or” operators in Ruby?
- Need to split arrays to sub arrays of specified size in Ruby [duplicate]
- Reading the last n lines of a file in Ruby?
- Is it possible to have Methods inside Methods?
- ruby inheritance vs mixins
- Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError)
- Accessing elements of nested hashes in ruby [duplicate]
- In Ruby, how does coerce() actually work?
- How to read lines of a file in Ruby
- How to check if a Ruby object is a Boolean
- How can I access a variable defined in a Ruby file I required in IRB?
- Ruby: Can I write multi-line string with no concatenation?
- How to preserve request url with nginx proxy_pass
- Ruby RVM apt-get update error
- How to install command line tools on OSX Mavericks
- Ruby dependency injection libraries
- Method and variable name is the same
- Combine two Arrays into Hash