# File lib/rr/injections/injection.rb, line 26 def subject_respond_to_method?(subject, method_name) subject_has_method_defined?(method_name) || class_instance_method_defined(subject_class, :respond_to?) && subject.respond_to?(method_name) end