Created
May 17, 2012 16:33
-
-
Save presidentbeef/2720022 to your computer and use it in GitHub Desktop.
Show ruby_parser output on command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'ruby_parser' | |
require 'pp' | |
pp RubyParser.new.parse ARGV[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment