Sha256: 91aa0837096c59ac0f765c67f7424ee670e51607b45b345d41975082777cb177

Contents?: true

Size: 265 Bytes

Versions: 24

Compression:

Stored size: 265 Bytes

Contents

module Cucumber
  class Broadcaster

    def initialize(receivers = [])
      @receivers = receivers
    end

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

  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.1.16.5 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.1 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.10 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.11 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.12 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.13 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.14 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.15 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.17 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.18 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.19 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.2 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.20 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.21 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.22 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.23 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.3 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.5 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.6 lib/cucumber/broadcaster.rb
aslakhellesoy-cucumber-0.1.99.7 lib/cucumber/broadcaster.rb