Sha256: 54c38cf276f1718e07da537efa4055a88a19725e92a9c62462471e6aecd269e0

Contents?: true

Size: 401 Bytes

Versions: 11

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class CollectionDrop < Drop
      extend Forwardable

      mutable false

      def_delegator  :@obj, :write?, :output
      def_delegators :@obj, :label, :docs, :files, :relative_path, :resources, :static_files

      private def_delegator :@obj, :metadata, :fallback_data

      def to_s
        label
      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/collection_drop.rb
bridgetown-core-0.21.4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.0.beta4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.0.beta3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.21.0.beta1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.20.0 lib/bridgetown-core/drops/collection_drop.rb