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
hatena_bookmark_client_for_ruby-0.1.0 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
pomodorokun-0.1.0 bundle/ruby/2.4.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
cspeezy_palindrome-0.3.0 path/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
cspeezy_palindrome-0.2.0 path/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
cspeezy_palindrome-0.1.0 path/ruby/2.6.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
blackjack_jp-0.1.3 vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
blackjack_jp-0.1.2 vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
blackjack_jp-0.1.1 vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
blackjack_jp-0.1.0 vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
steenfest_palindrome-0.1.2 ruby/2.5/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
steenfest_palindrome-0.1.1b ruby/2.5/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
xaiml-0.1.3 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
alimentos-alu0100945645-0.1.0 vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
alimentos-alu0100945645-1.0.0 vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
xaiml-0.1.2 vendor/bundle/ruby/2.5.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb
rb2exe-0.3.1 bin/traveling-ruby-2.2.2/l64/lib/ruby/2.2.0/rake/contrib/compositepublisher.rb
rb2exe-0.3.1 bin/traveling-ruby-2.2.2/win/lib/ruby/2.2.0/rake/contrib/compositepublisher.rb
rb2exe-0.3.1 bin/traveling-ruby-2.2.2/l32/lib/ruby/2.2.0/rake/contrib/compositepublisher.rb
rb2exe-0.3.1 bin/traveling-ruby-2.2.2/osx/lib/ruby/2.2.0/rake/contrib/compositepublisher.rb
nullifyable-0.1.0 vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb