lib/locomotive/mounter/reader/file_system/pages_reader.rb
# Create a ordered list of pages from the Hash
#
# @return [ Array ] An ordered list of pages
#
Create a ordered list of pages from the Hash
Create a ordered list of pages from the Hash
def pages_to_list
            list = self.pages.values.sort { |a, b| a.fullpath <=> b.fullpath }
            list.sort { |a, b| a.depth <=> b.depth }
          end
def pages_to_list list = self . pages . values . sort { | a , b | a . fullpath <=> b . fullpath } list . sort { | a , b | a . depth <=> b . depth } end
Create a ordered list of pages from the Hash
Create a ordered list of pages from the Hash
# sort by fullpath first # sort finally by depth
An ordered list of pages
An ordered list of pages
 Array 