Woothee ruby implementation