There's no documentation for this item.
# File action_controller/routing.rb, line 31 def number_of_captures Regexp.new("|#{source}").match('').captures.length end
<code/>
<pre/>
<code/>and<pre/>for code samples.