lib/wrapt/wrapt.rb
def layout_dirs
    @layout_dirs ||= begin
      [
        File.join(Dir.pwd, "layouts"),
        File.join(Dir.pwd, "views/layouts"),
        File.join(Dir.pwd, "app/views/layouts")
      ]
    end
  end
# Provides access to the directories where wrapt will inspect to find the layouts
# @api public
# @return [Array] An array of directories that wrapt will look in for template files
Provides access to the directories where wrapt will inspect to find the layouts
Provides access to the directories where wrapt will inspect to find the layouts
def layout_dirs
    @layout_dirs ||= begin
      [
        File.join(Dir.pwd, "layouts"),
        File.join(Dir.pwd, "views/layouts"),
        File.join(Dir.pwd, "app/views/layouts")
      ]
    end
  end
def layout_dirs @layout_dirs ||= begin [ File . join ( Dir . pwd , "layouts" ) , File . join ( Dir . pwd , "views/layouts" ) , File . join ( Dir . pwd , "app/views/layouts" ) ] end end
Provides access to the directories where wrapt will inspect to find the layouts
Provides access to the directories where wrapt will inspect to find the layouts
An array of directories that wrapt will look in for template files
An array of directories that wrapt will look in for template files
Array
api
None