Use method_defined? to check if method exists instead of slower check on instance_methods
Merge pull request #209 from vipulnsward/method-defined

Use method_defined? to check if method exists instead of slower check