Exception: Simplifier::Unknown

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/simplifier.rb

Overview

Public: Raised when an object can’t be simplified.

Instance Method Summary collapse

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