Method: Jekyll::StaticFileReader#read
- Defined in:
- lib/jekyll/readers/static_file_reader.rb
#read(files) ⇒ Object
Create a new StaticFile object for every entry in a given list of basenames.
files - an array of file basenames.
Returns an array of static files.
18 19 20 21 22 23 |
# File 'lib/jekyll/readers/static_file_reader.rb', line 18 def read(files) files.each do |file| @unfiltered_content << StaticFile.new(@site, @site.source, @dir, file) end @unfiltered_content end |