define_exception gem version 0.0.3 released
Based on feedback from the release last night the latest version allows you to alternately define the parent class for your exception. The define_exception gem provides a succinct manner in which exceptions can be defined much like read/write attributes in your class using attr_accessor. It also makes it trivial to define a default message so that in most cases the second argument to raise is not necessary.
Post a comment