ripienaar/ruby-nagios — pull request #4 by avleen (2011-11-14 22:25:35+00:00)
Title: Check appropriate handle exists before evaling it

If the nagios status file contains certain data (eg the HTML + Javascript of a web page, with { } in it), this can break the parsing done in Nagios::Status. Eg, if Nagios::Status sees this in a line:
```} else {```
it will try to ```eval()``` a method called ```handler_else``` which will fail.

This adds a check to make sure the the handler exists before trying to eval it.