module ActionDispatch::Routing::DirectRoutes::Mapper::Scope
Public Instance Methods
null?()
click to toggle source
# File lib/action_dispatch/routing/direct_routes/mapper/scope.rb, line 8 def null? @hash.nil? && @parent.nil? end
root?()
click to toggle source
# File lib/action_dispatch/routing/direct_routes/mapper/scope.rb, line 12 def root? @parent == {} || @parent.null? end