method
number_of_captures
number_of_captures()
public
Hide source
# File actionpack/lib/action_controller/routing/routing_ext.rb, line 26 def number_of_captures Regexp.new("|#{source}").match('').captures.length end