Sha256: 880c691a4df098d3eca2285827d63f920287fdb05b57706e3a7023f8085343c8

Contents?: true

Size: 466 Bytes

Versions: 26

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class UnifiedPayloadDrop < Drop
      mutable true

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

      def bridgetown
        BridgetownDrop.global
      end

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

      private

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bridgetown-core-0.17.1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.17.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.16.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.16.0.beta2 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.16.0.beta1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.15.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.15.0.beta4 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.15.0.beta3 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.15.0.beta2 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.15.0.beta1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.14.1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.14.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.13.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.12.1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.12.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.11.2 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.11.1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.11.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.10.2 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.10.1 lib/bridgetown-core/drops/unified_payload_drop.rb