A short script in Ruby