Sha256: 2badf58e07d0f4af1c496206d552ce6d308484b31f88cabf26afe081303b6ecd
Contents?: true
Size: 196 Bytes
Versions: 3
Compression:
Stored size: 196 Bytes
Contents
# frozen_string_literal: true module Kind class Error < TypeError def initialize(kind_name, object) super("#{object.inspect} expected to be a kind of #{kind_name}") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kind-1.8.0 | lib/kind/error.rb |
kind-1.7.0 | lib/kind/error.rb |
kind-1.6.0 | lib/kind/error.rb |