Sha256: 9b336f5da69b327b2dec74a1c749310d800b6aab9a9e9742af3f83c1c85cf191

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

# frozen_string_literal: true

require 'dry/core/extensions'

module ROM
  module Files
    module Extensions
    end

    extend Dry::Core::Extensions

    register_extension :text do
      require_relative 'extensions/text/attributes_inferrer'
    end

    register_extension :markdown do
      require_relative 'extensions/markdown/attributes_inferrer'
    end

    register_extension :ruby do
      require_relative 'extensions/ruby/attributes_inferrer'
    end

    register_extension :gem do
      require 'pathname/extensions'
      Pathname.load_extensions :pathmap
      require_relative 'extensions/gem'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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