Sha256: a3f49c872f37db635b61df820980438107410e671674aae985a08ead10d8e388
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 Bytes
Contents
#!/usr/bin/env ruby require "#{::File.dirname(__FILE__)}/../lib/skelerl" require 'rubygems' require 'optparse' @opts = OptionParser.new progname = File.basename(__FILE__, File.extname(__FILE__)) @opts.on('-v', '--verbose', 'Be verbose') { @verbose = true } @opts.on('-t', '--test', 'Put in test mode') { @testing = true } @opts.on_tail("-h", "--help", "Show this message") do puts <<-EOP Usage: #{progname} <filename> [options] EOP exit end @opts.parse(ARGV.dup) instance_eval open(ARGV.pop).read mappers.each do |mapper| @testing ? puts(mapper.realize(@testing)) : mapper.realize(@testing) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
auser-skelerl-0.0.2 | bin/erl_runner |