Sha256: 1b9699433df332dd00e5a88dba724e31516380432a49d98dd7bd310c1a3df3f6

Contents?: true

Size: 433 Bytes

Versions: 5

Compression:

Stored size: 433 Bytes

Contents

# encoding: UTF-8

module Bunto
  module Drops
    class CollectionDrop < Drop
      extend Forwardable

      mutable false

      def_delegator :@obj, :write?, :output
      def_delegators :@obj, :label, :docs, :files, :directory,
                            :relative_directory

      def to_s
        docs.to_s
      end

      private
      def_delegator :@obj, :metadata, :fallback_data
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bunto-3.4.5 lib/bunto/drops/collection_drop.rb
bunto-3.2.1 lib/bunto/drops/collection_drop.rb
bunto-3.0.0 lib/bunto/drops/collection_drop.rb
bunto-2.0.0.pre lib/bunto/drops/collection_drop.rb
bunto-1.0.0 lib/bunto/drops/collection_drop.rb