Object
# File lib/rr/injections/injection.rb, line 14 def subject_has_method_defined?(method_name_in_question) @subject.methods.detect {|method_name| method_name.to_sym == method_name_in_question.to_sym} || @subject.protected_methods.detect {|method_name| method_name.to_sym == method_name_in_question.to_sym} || @subject.private_methods.detect {|method_name| method_name.to_sym == method_name_in_question.to_sym} end
Generated with the Darkfish Rdoc Generator 2.