> class RPS > > Hierarchy = { > :rock => { :rock => :tie , :paper => :lose , :scissors => > :win } , > :paper => { :rock => :win , :paper => :tie , :scissors => > :lose } , > :scissors => { :rock => :lose , :paper => :win , :scissors => > :tie } , > } Like what you did with the hashes by making each possible scenario its own hash/array. I thought I had to do the comparison with operators <=>, Still working through the rest of it. -- Posted via http://www.ruby-forum.com/.