# File lib/nanoc/cli/commands/show-data.rb, line 114 def print_layouts(layouts, compiler) self.print_header('Layouts') self.sorted_with_prev(layouts) do |layout, prev| puts if prev puts "layout #{layout.identifier}:" outdatedness_reason = compiler.outdatedness_checker.outdatedness_reason_for(layout) if outdatedness_reason puts " is outdated: #{outdatedness_reason.message}" else puts " is not outdated" end puts end end