ruby cases on Day3