Sha256: 58af4c3b4014a16e8565e217323691d4cc08a63548a54508293c0aa70f93e497

Contents?: true

Size: 351 Bytes

Versions: 590

Compression:

Stored size: 351 Bytes

Contents

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

590 entries across 491 versions & 124 rubygems

Version Path
mercadopago-custom-checkout-0.2.0 .gs/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.9 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.6 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
lotrd-0.1.9 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
lotrd-0.1.8 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
lotrd-0.1.6 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
lotrd-0.1.5 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.5 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.4 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.3 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.2 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.1 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
video_chat_get-0.1.0 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
josufst_palindrome-0.2.0 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
josufst_palindrome-0.2.0 vendor/cache/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
josufst_palindrome-0.1.1 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
josufst_palindrome-0.1.1 vendor/cache/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
nlmt-wrappers-0.0.1 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
jscop-0.1.2 vendor/cache/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb