Sha256: 2ad95acdf9e53b37c6a374baab1ef0f8055953374916e870292ae59a89da7e12

Contents?: true

Size: 370 Bytes

Versions: 21

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

require "mustermann/rails"

module Hanami
  class Router
    # Route path
    #
    # @since 2.0.0
    # @api private
    class Segment
      # @since 2.0.0
      # @api private
      def self.fabricate(segment, **constraints)
        Mustermann.new(segment, type: :rails, version: "5.0", capture: constraints)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hanami-router-2.2.0 lib/hanami/router/segment.rb
hanami-router-2.2.0.rc1 lib/hanami/router/segment.rb
hanami-router-2.2.0.beta2 lib/hanami/router/segment.rb
hanami-router-2.2.0.beta1 lib/hanami/router/segment.rb
hanami-router-2.1.0 lib/hanami/router/segment.rb
hanami-router-2.1.0.rc3 lib/hanami/router/segment.rb
hanami-router-2.1.0.rc2 lib/hanami/router/segment.rb
hanami-router-2.1.0.rc1 lib/hanami/router/segment.rb
hanami-router-2.1.0.beta1 lib/hanami/router/segment.rb
hanami-router-2.0.2 lib/hanami/router/segment.rb
hanami-router-2.0.1 lib/hanami/router/segment.rb
hanami-router-2.0.0 lib/hanami/router/segment.rb
hanami-router-2.0.0.rc1 lib/hanami/router/segment.rb
hanami-router-2.0.0.beta4 lib/hanami/router/segment.rb
hanami-router-2.0.0.beta2 lib/hanami/router/segment.rb
hanami-router-2.0.0.beta1 lib/hanami/router/segment.rb
hanami-router-2.0.0.alpha6 lib/hanami/router/segment.rb
hanami-router-2.0.0.alpha5 lib/hanami/router/segment.rb
hanami-router-2.0.0.alpha4 lib/hanami/router/segment.rb
hanami-router-2.0.0.alpha3 lib/hanami/router/segment.rb