#!/usr/bin/env ruby require File.expand_path('../../lib/dicechucker.rb', __FILE__) begin dice = Dicechucker::parse(ARGV[0]) puts "You #{dice.report}" rescue => err abort "#{err} -- aborting." end