Sha256: 7e8bc7f6d557aa056c0e1b6f6f482b53c38270eb9d8e3154157c3b6815c6d285
Contents?: true
Size: 516 Bytes
Versions: 18
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true unless Jekyll::VERSION.start_with? '2.' require 'jekyll' module CloudCannonJekyll # Reads data files and creates a collections-style hash representation class DataReader < Jekyll::DataReader # Determines how to read a data file. # This is overridden return a hash instead of reading the file. # # Returns a hash with the path to the data file. def read_data_file(path) { 'path' => path } end end end end
Version data entries
18 entries across 18 versions & 1 rubygems