Mustermann::Flask::Converter#between

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.

@example
  require 'mustermann/flask'

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

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

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