Shuttle converter, written in Ruby