resolves issue #198 by adding Ruby 2 compat mode.
Merge pull request #204 from lordofthejars/master

resolves issue #198 by adding Ruby 2 compat mode.