Exception: Simplifier::Unknown
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Simplifier::Unknown
- Defined in:
- lib/simplifier.rb
Overview
Public: Raised when an object can’t be simplified.
Instance Method Summary collapse
-
#initialize(object) ⇒ Unknown
constructor
A new instance of Unknown.
Constructor Details
#initialize(object) ⇒ Unknown
Returns a new instance of Unknown.
16 17 18 |
# File 'lib/simplifier.rb', line 16 def initialize(object) super "Can't simplify #{object.class.name} #{object.inspect}" end |