Fix terminology in ruby implementation