lib/locomotive/mounter/reader/file_system/pages_reader.rb
# Output simply the tree structure of the pages.
#
# Note: only for debug purpose
#
Output simply the tree structure of the pages.
Note: only for debug purpose
Output simply the tree structure of the pages . Note : only for debug purpose
def to_s(page = nil)
            page ||= self.pages['index']
            puts "#{"  " * (page.try(:depth) + 1)} #{page.fullpath.inspect} (#{page.title}, position=#{page.position}, template=#{page.template_translations.keys.inspect})"
            (page.children || []).each { |child| self.to_s(child) }
          end
def to_s ( page = nil ) page ||= self . pages [ 'index' ] puts "#{"  " * (page.try(:depth) + 1)} #{page.fullpath.inspect} (#{page.title}, position=#{page.position}, template=#{page.template_translations.keys.inspect})" ( page . children || [ ] ) . each { | child | self . to_s ( child ) } end
Output simply the tree structure of the pages.
Output simply the tree structure of the pages .
page
<not_specific>