Sha256: 015acdeb22dbc2f63e37202c9965834fbbfed43fee50d9b4a53f667554ddf1de

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 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

1 entries across 1 versions & 1 rubygems

Version Path
aslakhellesoy-cucumber-0.1.100.1 lib/cucumber/broadcaster.rb