# File lib/grape/router/pattern.rb, line 17 def initialize(pattern, **options) @origin = pattern @path = build_path(pattern, **options) @capture = extract_capture(options) @pattern = Mustermann.new(@path, pattern_options) @regexp = to_regexp end