redding/ns-options — pull request #73 by jcredding (2012-12-05 15:36:14+00:00)
Title: If `Namespace#to_hash` raises an exception, `inspect` still works

When `Namespace#inspect` is called, it uses `to_hash` to build it's inspect
string. In certain situations, `to_hash` can throw exceptions which keeps the
namespace from being inspected. Furthermore, because `Namespace#inspect` is
called when we try to throw a `NoMethodError`, it can create an infinite loop
situation. These changes fix these problems by rescueing the `to_hash` usage
in `inspect`.