class Jekyll::PostReader
def read_publishable(dir, magic_dir, matcher)
dir - The String relative path of the directory to read.
Document object with each one insofar as it matches the regexp matcher.
Read all the files in
def read_publishable(dir, magic_dir, matcher) read_content(dir, magic_dir, matcher) .tap { |docs| docs.each(&:read) } .select { |doc| processable?(doc) } end