Fix for Ruby 2.2

The behavor of method as default argument has been changed in Ruby2.2.
see: https://bugs.ruby-lang.org/issues/10314
add travis.