extract time report from hamster with ruby