lib/webby/builder.rb
# Scan the <code>layouts/</code> folder and the <code>content/</code>
# folder and create a new Resource object for each file found there.
#
Scan the layouts/ folder and the content/
folder and create a new Resource object for each file found there.
Scan the layouts / folder and the content / folder and create a new Resource object for each file found there .
def load_files
    ::Find.find(layout_dir, content_dir) do |path|
      next unless test ?f, path
      next if path =~ ::Webby.exclude
      Resources.new path
    end
  end
def load_files :: Find . find ( layout_dir , content_dir ) do | path | next unless test ?f , path next if path =~ :: Webby . exclude Resources . new path end end
Scan the <code>layouts/</code> folder and the <code>content/</code>
folder and create a new Resource object for each file found there.
Scan the <code > layouts / < / code > folder and the <code > content / < / code > folder and create a new Resource object for each file found there .