Sha256: da4e04dee898b7c0d115676c1d6f768e135c5f759b0df323c07a869810070bb5

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 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, :relative_path, :resources, :static_files

      private def_delegator :@obj, :metadata, :fallback_data

      def to_s
        label
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/drops/collection_drop.rb