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.3.4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.2.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.2.0.beta3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.2.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.2.0.beta1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.1.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.1.0.beta3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.1.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.1.0.beta1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-1.0.0.beta3 lib/bridgetown-core/drops/collection_drop.rb