Sha256: bb2045282deba85883186726b8842b37e2e23f50304d4ae7bea2354649392692

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"

module CableReady
  module Element
    module Broadcaster
      def cable_ready_tag(cable_instance)
        cable_instance.dispatch(element: true)
      end
    end
  end
end

::CableReady::Broadcaster.prepend(::CableReady::Element::Broadcaster)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cable_ready-element-5.0.0 lib/cable_ready/element/broadcaster.rb