Use explicit method invocation for shadowed variable names.

Fixes Ruby 2.2 bug detailed here: https://bugs.ruby-lang.org/issues/10314
Test Ruby 2.2.0 on Travis.