class CloudCannonJekyll::DataReader

Reads data files and creates a collections-style hash representation

Public Instance Methods

read_data_file(path) click to toggle source

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.

# File lib/cloudcannon-jekyll/readers/data-reader.rb, line 13
def read_data_file(path)
  {
    "path" => path,
  }
end