Sha256: b4f97d8f0abe24ed6cfc007a43c7bfca6c24cef22e0d7916a1f3dfa71b6ae694

Contents?: true

Size: 507 Bytes

Versions: 21

Compression:

Stored size: 507 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

    def inspect
      "#<Jekyll:PageWithoutAFile @name=#{name.inspect}>"
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
jekyll-3.10.0 lib/jekyll/page_without_a_file.rb
jekyll-3.9.5 lib/jekyll/page_without_a_file.rb
jekyll-3.9.4 lib/jekyll/page_without_a_file.rb
jekyll-3.9.3 lib/jekyll/page_without_a_file.rb
jekyll-3.9.2 lib/jekyll/page_without_a_file.rb
jekyll-3.9.1 lib/jekyll/page_without_a_file.rb
jekyll-3.9.0 lib/jekyll/page_without_a_file.rb
jekyll-3.8.7 lib/jekyll/page_without_a_file.rb
jekyll-3.8.6 lib/jekyll/page_without_a_file.rb
jekyll-3.8.5 lib/jekyll/page_without_a_file.rb
jekyll-3.8.4 lib/jekyll/page_without_a_file.rb
jekyll-3.7.4 lib/jekyll/page_without_a_file.rb
jekyll-3.8.3 lib/jekyll/page_without_a_file.rb
jekyll-3.8.2 lib/jekyll/page_without_a_file.rb
jekyll-3.8.1 lib/jekyll/page_without_a_file.rb
jekyll-3.8.0 lib/jekyll/page_without_a_file.rb
jekyll-3.8.0.pre.rc2 lib/jekyll/page_without_a_file.rb
jekyll-3.8.0.pre.rc1 lib/jekyll/page_without_a_file.rb
jekyll-3.7.3 lib/jekyll/page_without_a_file.rb
jekyll-3.7.2 lib/jekyll/page_without_a_file.rb