class Chickpea::TypeError

Public Class Methods

new(got, expected) click to toggle source
Calls superclass method
# File lib/chickpea.rb, line 5
def initialize(got, expected)
  super("expected #{got.inspect} to be a #{expected}")
end