Sha256: 1330d57e9594bbf6bb964bbf5f2a801845c92d4a5b29183ec793bca9b77e8f1c

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

module Jekyll
  # A Jekyll::Page subclass to handle processing files without reading it to
  # determine the page-data and page-content based on Front Matter delimiters.
  #
  # The class instance is basically just a bare-bones entity with just
  # attributes "dir", "name", "path", "url" defined on it.
  class PageWithoutAFile < Page
    def read_yaml(*)
      @data ||= {}
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jekyll-4.2.1 lib/jekyll/page_without_a_file.rb
ngage-0.0.0 lib/ngage/jekyll/page_without_a_file.rb