Sha256: c760ab8dc24259f9e317876ffe200300b05f29608b3a92b8ac61060ea1d612c8

Contents?: true

Size: 205 Bytes

Versions: 13

Compression:

Stored size: 205 Bytes

Contents

# @api private

module Wisper
  class BlockRegistration < Registration
    def broadcast(event, publisher, *args)
      if should_broadcast?(event)
        listener.call(*args)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
lotrd-0.1.9 vendor/cache/ruby/2.6.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
lotrd-0.1.8 vendor/cache/ruby/2.6.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
lotrd-0.1.6 vendor/cache/ruby/2.6.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
lotrd-0.1.5 vendor/cache/ruby/2.6.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
pokedex-terminal-0.2.8 vendor/bundle/ruby/2.7.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
pokedex-terminal-0.2.7 vendor/bundle/ruby/2.7.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
pokedex-terminal-0.2.6 vendor/bundle/ruby/2.7.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
pokedex-terminal-0.2.5 vendor/bundle/ruby/2.7.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
pokedex-terminal-0.2.4 vendor/bundle/ruby/2.7.0/gems/wisper-2.0.1/lib/wisper/registration/block.rb
wisper-2.0.1 lib/wisper/registration/block.rb
siftery-wisper-2.0.1 lib/wisper/registration/block.rb
wisper-2.0.0 lib/wisper/registration/block.rb
wisper-2.0.0.rc1 lib/wisper/registration/block.rb