Parsed documentation:
View on GitHub
Makes sure a given value falls inbetween a min and a max.
Uses the passed block to convert the value from a string to whatever
format you'd expect.

  require 'mustermann/flask'

  class MyPattern < Mustermann::Flask
    register_converter(:x) { between(5, 15, &:to_i) }

  pattern ='<x:id>')
  pattern.params('/12') # => { 'id' => 12 }
  pattern.params('/16') # => { 'id' => 15 }

@see Mustermann::Flask#register_converter
Please help! Open an issue on GitHub if this assessment is incorrect.