diff --git a/lib/roda/plugins/typecast_params.rb b/lib/roda/plugins/typecast_params.rb index cab3d985..e69b6b5f 100644 --- a/lib/roda/plugins/typecast_params.rb +++ b/lib/roda/plugins/typecast_params.rb @@ -735,7 +735,7 @@ def convert_each!(opts=OPTS, &block) # You can use +dig+ to get access to nested arrays by using :array or :array! as # the first argument and providing the type in the second argument: # - # tp.dig(:array, :pos_int, 'foo', 'bar', 'baz') # tp['foo']['bar'].array(:int, 'baz') + # tp.dig(:array, :pos_int, 'foo', 'bar', 'baz') # tp['foo']['bar'].array(:pos_int, 'baz') def dig(type, *nest, key) _dig(false, type, nest, key) end