Sha256: d3ebaceffbff64064d97bc2b52a91bb2c0a88e9ac5e8c24f3a0d10dfb7567da8

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

module Jekyll
  module Drops
    class UnifiedPayloadDrop < Drop
      mutable true

      attr_accessor :page, :layout, :content, :paginator
      attr_accessor :highlighter_prefix, :highlighter_suffix

      def jekyll
        JekyllDrop.global
      end

      def site
        @site_drop ||= SiteDrop.new(@obj)
      end

      private

      def fallback_data
        @fallback_data ||= {}
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jekyll-4.2.1 lib/jekyll/drops/unified_payload_drop.rb
ngage-0.0.0 lib/ngage/jekyll/drops/unified_payload_drop.rb