Sha256: b01a998eb8b3b70ff11e06d4e174afb0c36501cca613c818bbac8979e691309b
Contents?: true
Size: 470 Bytes
Versions: 10
Compression:
Stored size: 470 Bytes
Contents
module Dry module Protocol class NotImplemented < StandardError def initialize(type, proto, impl) super case type when :protocol "Protocol “#{proto}” is not implemented for “#{impl}”." when :method "Protocol “#{proto}” does not declare method “#{impl}”." else "Protocol “#{proto}” is invalid." end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems