Exception: Override::ExpectationError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/override.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected, actual) ⇒ ExpectationError

Returns a new instance of ExpectationError.



22
23
24
# File 'lib/override.rb', line 22

def initialize(expected, actual)
  super("Expected #{expected.inspect}, got #{actual.inspect}")
end