he produced a ruler from his pocket , measured the shortest distance between new jerusalem and the coast , and then proceeded to make calculations in a small notebook , muttering to himself the entire time , while i , so recently the object of his full attention , stood entirely forgotten .