Class: Farce::Local::WeakSet

Inherits:
Abstract::WeakSet
  • Object
show all
Includes:
Shareable::Delegated
Defined in:
lib/farce/local/weak_set.rb

Overview

A shareable weak set with independent mutable contents in each scope.

Instance Method Summary collapse

Methods included from Shareable

#initialize, #ractor_shareable?

Instance Method Details

#scope ⇒ Symbol

The scope with independent contents.

Returns:

  • (Symbol) —

    The configured scope name.



13
# File 'lib/farce/local/weak_set.rb', line 13

def scope = map_backend.scope