ripienaar/ruby-nagios — pull request #18 by dmytro (2013-02-15 04:07:47+00:00)
Title: Fix stale objects in statusdat

This is a very small pull request for fixing stale data.

When ruby-nagios used for application that parse status.dat file multiple times (for example in web services API), objects deleted from Nagios config are still exist in `@status` attribute on successful parses.

Actual fix in on line 24: make `@status` empty hash before starting parse.

Others are purely cosmetic changes.