Object
# File lib/rr/injections/injection.rb, line 14
14: def subject_has_method_defined?(method_name_in_question)
15: @subject.methods.detect {|method_name| method_name.to_sym == method_name_in_question.to_sym} ||
16: @subject.protected_methods.detect {|method_name| method_name.to_sym == method_name_in_question.to_sym} ||
17: @subject.private_methods.detect {|method_name| method_name.to_sym == method_name_in_question.to_sym}
18: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.