Sha256: 8b9d6be3a20c099ca73880d2ce0b5b586bc9d3128b383027ec9db5031d42d3e2

Contents?: true

Size: 208 Bytes

Versions: 1

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true

require 'rom/types'

module ROM
  module HTTP
    module Types
      include ROM::Types

      Path = Coercible::String.constructor { |s| s.sub(%r{\A/}, '') }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-http-0.8.0 lib/rom/http/types.rb