Class: Hanami::Router::Segment Private
- Inherits:
-
Object
- Object
- Hanami::Router::Segment
- Defined in:
- lib/hanami/router/segment.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Route path
Class Method Summary collapse
Class Method Details
.fabricate(segment, **constraints) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/hanami/router/segment.rb', line 14 def self.fabricate(segment, **constraints) Mustermann.new(segment, type: :rails, version: "5.0", capture: constraints) end |