Pure ruby realization