class Jekyll::StaticFileReader
def initialize(site, dir)
def initialize(site, dir) @site = site @dir = dir @unfiltered_content = [] end
def read(files)
files - an array of file basenames.
Create a new StaticFile object for every entry in a given list of basenames.
def read(files) files.each do |file| @unfiltered_content << StaticFile.new(@site, @site.source, @dir, file) end @unfiltered_content end