module Roda::RodaPlugins::IntegerMatcherMax

def self.configure(app, max=nil)

def self.configure(app, max=nil)
  if max
    app::RodaRequest.class_eval do
      define_method(:_match_class_max_Integer){max}
      alias_method :_match_class_max_Integer, :_match_class_max_Integer
      private :_match_class_max_Integer
    end
  end
end