Sha256: 8338c0d6423681a0e627230027e624a75610998213f6733d56ac0d9fbc2bceb5

Contents?: true

Size: 261 Bytes

Versions: 109

Compression:

Stored size: 261 Bytes

Contents

module Cucumber
  class Broadcaster
    def initialize(receivers = [])
      @receivers = receivers
    end

    def method_missing(method_name, *args)
      @receivers.map do |receiver|
        receiver.__send__(method_name, *args)
      end
    end
  end
end

Version data entries

109 entries across 109 versions & 9 rubygems

Version Path
aslakhellesoy-cucumber-0.1.100.2 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.100.3 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.100.4 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.100.5 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.0.1 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.0.2 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.0.3 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.0.4 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.0 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.1 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.2.1 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.2.2 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.2 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.3.1 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.3.2 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.3.3 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.3.4 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.2.3 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.3.0.1 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.3.0 lib/cucumber/broadcaster.rb