class Sorta::TypeError
Public Class Methods
new(expected_ty, actual_ty)
click to toggle source
Calls superclass method
# File lib/sorta-lens.rb, line 9 def initialize(expected_ty, actual_ty) super "Unexpected type. Expected #{expected_ty} got #{actual_ty}" end