Exception: Override::ExpectationError
- Defined in:
- lib/override.rb
Instance Method Summary collapse
-
#initialize(expected, actual) ⇒ ExpectationError
constructor
A new instance of ExpectationError.
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 |