/schrodinger

Schrodinger's Cat is a library for dealing with the uncertainty of whether or not a variable references an existing object or is, in fact, nil. Usually dealing with this common situation involves running chained methods and then rescuing in case of NoMethodError's, or the usage of ugly conditionals to ascertain the presence of a variable reference, but Schrodinger's Cat offers a potentially more elegant way to handle this common pattern.

Primary LanguageRubyMIT LicenseMIT

No issues in this repository yet.