Few ruby utils