class VCR::LinkedCassette

A Cassette wrapper for linking cassettes from another thread

def self.list(cassettes, linked_cassettes)

Parameters:
  • linked_cassettes (Array) -- context-unowned (linked) cassettes
  • cassettes (Array) -- context-owned cassettes
def self.list(cassettes, linked_cassettes)
  CassetteList.new(cassettes, linked_cassettes)
end

def eject(*args)

Prevents cassette ejection by raising EjectLinkedCassetteError
def eject(*args)
  raise Errors::EjectLinkedCassetteError,
    "cannot eject a cassette inserted by a parent thread"
end

def linked?

Returns:
  • (Boolean) - true
def linked?
  true
end