class VCR::LinkedCassette
A Cassette
wrapper for linking cassettes from another thread
Public Class Methods
list(cassettes, linked_cassettes)
click to toggle source
Create a new CassetteList
@param cassettes [Array] context-owned cassettes @param linked_cassettes [Array] context-unowned (linked) cassettes
# File lib/vcr/linked_cassette.rb, line 57 def self.list(cassettes, linked_cassettes) CassetteList.new(cassettes, linked_cassettes) end
Public Instance Methods
eject(*args)
click to toggle source
Prevents cassette ejection by raising EjectLinkedCassetteError
# File lib/vcr/linked_cassette.rb, line 62 def eject(*args) raise Errors::EjectLinkedCassetteError, "cannot eject a cassette inserted by a parent thread" end
linked?()
click to toggle source
@return [Boolean] true
# File lib/vcr/linked_cassette.rb, line 68 def linked? true end