Sha256: 567c0170d59e3ff7815b4b5b6ad2a153b941226f0e716e436768c7d98a162cc7

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

#!/usr/bin/env ruby
require File.expand_path('../../lib/dicechucker.rb', __FILE__)

begin
  dice = Dicechucker::Dice.parse(ARGV[0])
  puts "You #{dice.roll_english}"
rescue => err
  abort "#{err} -- aborting."
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dicechucker-0.6.0 bin/roll