lib/anemone-kai/core.rb
#
# Returns +true+ if we are over the page depth limit.
# This only works when coming from a page and with the +depth_limit+ option set.
# When neither is the case, will always return +false+.
Returns +true+ if we are over the page depth limit.
This only works when coming from a page and with the +depth_limit+ option set.
When neither is the case, will always return +false+.
Returns + true + if we are over the page depth limit . This only works when coming from a page and with the + depth_limit + option set . When neither is the case will always return + false + .
def too_deep?(from_page)
      if from_page && @opts[:depth_limit]
        from_page.depth >= @opts[:depth_limit]
      else
        false
      end
    end
def too_deep? ( from_page ) if from_page && @opts [ :depth_limit ] from_page . depth >= @opts [ :depth_limit ] else false end end
Returns +true+ if we are over the page depth limit.
Returns + true + if we are over the page depth limit .
from_page
<not_specific>