class Grape::Router::Pattern

def initialize(origin, suffix, options)

def initialize(origin, suffix, options)
  @origin = origin
  @path = build_path(origin, options[:anchor], suffix)
  @pattern = build_pattern(@path, options[:params], options[:format], options[:version], options[:requirements])
  @to_regexp = @pattern.to_regexp
end