module Roda::RodaPlugins::IntegerMatcherMax

def self.configure(app, max=nil)

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