Skip to content

Instantly share code, notes, and snippets.

@claymccoy
Created August 18, 2008 15:55
Show Gist options
  • Save claymccoy/5995 to your computer and use it in GitHub Desktop.
Save claymccoy/5995 to your computer and use it in GitHub Desktop.
require 'java'
require 'Trees.jar'
TreeNode = com.claymccoy.trees.TreeNode
class TreeNode
def to_s
puts to_string.gsub("\\r", "\\n")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment