Sha256: 5a2c9570de283593a461bf90b4916966824776c837ece72457bd21beaca73f5c

Contents?: true

Size: 270 Bytes

Versions: 10

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

module StimulusReflex
  class NothingBroadcaster < Broadcaster
    def broadcast(_, data)
      broadcast_message subject: "nothing", data: data
    end

    def nothing?
      true
    end

    def to_sym
      :nothing
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stimulus_reflex-3.4.0.pre3 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.4.0.pre2 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.4.0.pre1 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.4.0.pre0 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.3.0 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.3.0.pre6 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.3.0.pre5 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.3.0.pre4 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.3.0.pre3 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb
stimulus_reflex-3.3.0.pre2 lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb