Sha256: 12dbedcaa179665048a11f3c4f18f53ece8fe13d0b1acadd86a29cebad8b58e6
Contents?: true
Size: 875 Bytes
Versions: 5
Compression:
Stored size: 875 Bytes
Contents
# frozen_string_literal: true module Avromatic module Model module Types class AbstractType def value_classes raise "#{__method__} must be overridden by #{self.class.name}" end def input_classes value_classes end def name raise "#{__method__} must be overridden by #{self.class.name}" end def coerce(_input) raise "#{__method__} must be overridden by #{self.class.name}" end def coercible?(_input) raise "#{__method__} must be overridden by #{self.class.name}" end def coerced?(_value) raise "#{__method__} must be overridden by #{self.class.name}" end def serialize(_value, **) raise "#{__method__} must be overridden by #{self.class.name}" end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems