Method: Rusql::TypeException#initialize
- Defined in:
- lib/rusql/type_exception.rb
#initialize(expected, actual) ⇒ TypeException
Returns a new instance of TypeException.
3 4 5 |
# File 'lib/rusql/type_exception.rb', line 3 def initialize(expected, actual) super("Expected: #{expected.name}. Got: #{actual.name}") end |