Precourse work in Ruby for Tealeaf