Sha256: 9a435fdacd741fd72eef11efec932b9e51b3300b2dfadd752fcb06f6d92e33bb
Contents?: true
Size: 566 Bytes
Versions: 6
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.1.0 class SmartCore::Types::Primitive::UndefinedCaster < SmartCore::Types::Primitive::Caster # @param expression [NilClass, Any] # @return [void] # # @api private # @since 0.1.0 def initialize(expression = nil) super end # @param value [Any] # @return [void] # # @raise [SmartCore::Types::TypeCastingError] # # @pai private # @since 0.1.0 def call(value) raise( SmartCore::Types::TypeCastingError, 'This type has no support for type casting' ) end end
Version data entries
6 entries across 6 versions & 1 rubygems