using operators in ruby