Sha256: cd8f82ba399dee4e603306f59f2d7716cb0886e0a649970dbed1efbca79ef4dd

Contents?: true

Size: 381 Bytes

Versions: 239

Compression:

Stored size: 381 Bytes

Contents

#!/usr/bin/env ruby

module Rake

  # Manage several publishers as a single entity.
  class CompositePublisher
    def initialize
      @publishers = []
    end
    
    # Add a publisher to the composite.
    def add(pub)
      @publishers << pub
    end
    
    # Upload all the individual publishers.
    def upload
      @publishers.each { |p| p.upload }
    end
  end

end


Version data entries

239 entries across 184 versions & 17 rubygems

Version Path
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.3/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.5/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/echoe-4.6.0/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.13.0 vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb
ric-0.12.2 vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb
craigmarksmith-rake-0.8.3.100 lib/rake/contrib/compositepublisher.rb
craigmarksmith-rake-0.8.4.101 lib/rake/contrib/compositepublisher.rb
craigmarksmith-rake-0.8.4.102 lib/rake/contrib/compositepublisher.rb
craigmarksmith-rake-0.8.4.103 lib/rake/contrib/compositepublisher.rb
elliottcable-echoe-3.1.1 vendor/rake/lib/rake/contrib/compositepublisher.rb
elliottcable-echoe-3.1.2 vendor/rake/lib/rake/contrib/compositepublisher.rb