ruby rotated