Sha256: 1a9df0822e75de70dcfa6219c2d9ced0b283b7098b1f73e08b61eb669a05c781

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require_relative '../markup/attributes_inferrer'

module ROM
  module Files
    module Extensions
      module Text
        class AttributesInferrer < Markup::AttributesInferrer
          # @return [Dry::Types::Definition]
          def markup_type
            Types::String
          end
        end
      end
    end

    Schema::AttributesInferrer.register 'text/plain', Extensions::Text::AttributesInferrer.new.freeze
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-files-0.2.0 lib/rom/files/extensions/text/attributes_inferrer.rb