method
shallow_nesting_depth
v4.2.7 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Scoping::Resources
shallow_nesting_depth()protected
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1697
def shallow_nesting_depth #:nodoc:
@nesting.select(&:shallow?).size
end