Coerce method name to String before checking

For working with Ruby 1.8