Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Object#respond_to? has always accepted either string or symbol interchangeably (at least from Ruby v1.8.4 onwards). - Mocha::ClassMethods__method_exists__? accepts either string or symbol since it uses Module#public_method_defined?, #protected_method_defined? & private_method_defined? which have accepted either string or symbol interchangeably (at least from Ruby v1.8.4 onwards), c.f. 9705028.
- Loading branch information