Sha256: d72ac40ecf3e4997d7715c0ffa73a0eb5415aff8680692cafc2ca4c9ede343f4

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

module Estratto
  module Data
    class TypeCoercionNotFound < StandardError; end

    class Base
      attr_reader :data, :formats

      def initialize(data, formats = {})
        @data = data
        @formats = formats
      end

      def coerce
        raise TypeCoercionNotFound
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
estratto-1.0.5 lib/estratto/data/base.rb
estratto-1.0.4 lib/estratto/data/base.rb
estratto-1.0.3 lib/estratto/data/base.rb