My own basic and naive implementation of a delegate in ruby