Sha256: 481d0da164023db42a2cd8cb2ecc71c3402d0c948a4ebde381c190080a374197

Contents?: true

Size: 381 Bytes

Versions: 7

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

module Jekyll
  module Drops
    class CollectionDrop < Drop
      extend Forwardable

      mutable false

      delegate_method_as :write?, :output
      delegate_methods :label, :docs, :files, :directory, :relative_directory

      private delegate_method_as :metadata, :fallback_data

      def to_s
        docs.to_s
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-4.3.4 lib/jekyll/drops/collection_drop.rb
jekyll-4.3.3 lib/jekyll/drops/collection_drop.rb
jekyll-4.3.2 lib/jekyll/drops/collection_drop.rb
jekyll-4.3.1 lib/jekyll/drops/collection_drop.rb
jekyll-4.3.0 lib/jekyll/drops/collection_drop.rb
jekyll-4.2.2 lib/jekyll/drops/collection_drop.rb
jekyll-4.2.0 lib/jekyll/drops/collection_drop.rb