Sha256: ea6cfbf834b2bb1e79b99029c7727aa832fe434f6b187fb643146e66aaf3bd6e
Contents?: true
Size: 363 Bytes
Versions: 7
Compression:
Stored size: 363 Bytes
Contents
class Exception # Is this exception the result of an assertion? def assertion? @assertion || false end # Set +true+/+false+ if the this exception is # an assertion. def set_assertion(boolean) @assertion = !!boolean end # def negative? @negative || false end # def set_negative(boolean) @negative = !!boolean end end
Version data entries
7 entries across 7 versions & 1 rubygems