Sha256: 72d8cc1c597dafcf621baebb74b12c47a46859e0e8683b79093dd228ec7d0535
Contents?: true
Size: 256 Bytes
Versions: 3
Compression:
Stored size: 256 Bytes
Contents
#!/usr/bin/env ruby require 'astree' require 'optparse' opt_parse = OptionParser.new do |opt| opt.banner = 'Usage: astree ruby_programfile' opt.parse!(ARGV) end if ARGV.first.nil? puts opt_parse else puts ASTree.parse(File.read(ARGV.first)) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
astree-1.1.1 | exe/astree |
astree-1.1.0 | exe/astree |
astree-1.0.0 | exe/astree |