ruby/ruby — pull request #653 by vipulnsward (2014-07-02 07:29:37+00:00)
Title: Use `new.respond?(:method)` instead of checking from instance methods, which is slower.

Use `new.respond?(:method)` instead of checking from instance methods, which is slower.

perf: https://gist.github.com/vipulnsward/8d30ace92d530e4244c2