ripienaar/ruby-nagios — pull request #6 by cbrito (2011-12-14 23:35:57+00:00)
Title: Tweak to respond_to? code

Ruby object.respond_to does not return true for private methods (which
is what the parsestatus handlers are.) Tweaked the code so that the test becomes
self.respond_to?(..., include_private = true) to ensure the private
methods are evaluated.