module Roda::RodaPlugins::MultiRoute::ClassMethods

def freeze

Freeze the namespaced routes and setup the regexp matchers so that there can be no thread safety issues at runtime.
def freeze
  opts[:namespaced_routes].freeze.each do |k,v|
    v.freeze
    self::RodaRequest.named_route_regexp(k)
  end
  self::RodaRequest.instance_variable_get(:@namespaced_route_regexps).freeze
  super
end