Sha256: 67d66ad513900645118abf4b47739d28b5e3d3b2b25c53daea843503ec6a87de

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module CableReady
  module Element
    module CableCar
      def dispatch(element: false, clear: true)
        payload = element ? operations_in_custom_element : operations_payload
        reset! if clear
        payload
      end
    end
  end
end

::CableReady::CableCar.prepend(::CableReady::Element::CableCar)

Version data entries

1 entries across 1 versions & 1 rubygems

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