Sha256: 47e3363ae91f5bda04a54bfa4d74ffdbd733ff08e9a79ec9617e4505ca4d0375

Contents?: true

Size: 394 Bytes

Versions: 33

Compression:

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

      private def_delegator :@obj, :metadata, :fallback_data

      def to_s
        label
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
bridgetown-core-1.0.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.beta1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha11 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha10 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha9 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha8 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha7 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha6 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha5 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.alpha1 lib/bridgetown-core/drops/collection_drop.rb