lib/roda.rb in roda-3.84.0 vs lib/roda.rb in roda-3.85.0

- old
+ new

@@ -568,9 +568,16 @@ # # session # => {} def session @_request.session end + + private + + # Convert the segment matched by the Integer matcher to an integer. + def _convert_class_Integer(value) + value.to_i + end end end end extend RodaPlugins::Base::ClassMethods