Sha256: b813b4cb9ae13063b156e2c36ba0d21ff7037a1b93f1769ea08d38e3fc19bc9c

Contents?: true

Size: 374 Bytes

Versions: 33

Compression:

Stored size: 374 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

      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-0.19.3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.19.2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.19.1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.19.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.6 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.5 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.18.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.17.1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.17.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.16.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.16.0.beta2 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.16.0.beta1 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.15.0 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.15.0.beta4 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.15.0.beta3 lib/bridgetown-core/drops/collection_drop.rb
bridgetown-core-0.15.0.beta2 lib/bridgetown-core/drops/collection_drop.rb