Sha256: c4d5332672aa2a1fc15141526ac4b7140b52432b40c95577e3a57e92b77bb402
Contents?: true
Size: 517 Bytes
Versions: 20
Compression:
Stored size: 517 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
20 entries across 20 versions & 1 rubygems