initial update to get things working w/ ruby 2.0

mostly minor syntax changes