fix syntax for ruby 2.1.3

closes #39