use def-rescue instead of begin-rescue
Merge pull request #27 from bonsaiben/def_rescue

use def-rescue instead of begin-rescue