Ruby Example to convert seconds to ms