class 1 ruby