kf in ruby