Sha256: 229f0bb3ed440533eb9036247fc24df11ec9981fe8ff78d6dd14824c32d97e19

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

module StimulusReflex
  class NothingMorphMode < MorphMode
    def broadcast(reflex, selectors, data)
      broadcast_message subject: "nothing", data: data
    end

    def to_sym
      :nothing
    end

    def nothing?
      true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stimulus_reflex-3.3.0.pre1 lib/stimulus_reflex/morph_mode/nothing_morph_mode.rb
stimulus_reflex-3.3.0.pre0 lib/stimulus_reflex/morph_mode/nothing_morph_mode.rb