Sha256: 7e657772c60348084ba0df1f737d9dbd27404d205070d4f2c8923329446852c3

Contents?: true

Size: 343 Bytes

Versions: 11

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class PageDrop < Drop
      extend Forwardable

      mutable false

      def_delegators :@obj, :content, :dir, :name, :path, :url, :pager
      private def_delegator :@obj, :data, :fallback_data

      def relative_url
        @obj.relative_url
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bridgetown-core-0.21.5 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.4 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.3 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.2 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.1 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.0 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.0.beta4 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.0.beta3 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.0.beta2 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.21.0.beta1 lib/bridgetown-core/drops/page_drop.rb
bridgetown-core-0.20.0 lib/bridgetown-core/drops/page_drop.rb