Sha256: 088093ce27ac2bcab0d68bd9fdfe8a8fbf75cbbed578842abe69b25da8b5ac1b

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

require 'adhearsion'

class Adhearsion::Call
  def stop_all_runners!
    return unless variables[:matrioska_runners]

    variables[:matrioska_runners].each do |runner|
      runner.stop!
    end
  end

  def runners
    Array(variables[:matrioska_runners])
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
matrioska-0.3.0 lib/matrioska/core_ext/adhearsion_call.rb