Playing with ruby inheritance