TeaLeaf Ruby class