Class: Farce::Strict::Molecule

Inherits:
Abstract::Molecule show all
Includes:
Farce::Shareable
Defined in:
lib/farce/strict/molecule.rb

Overview

A Ractor-shareable record whose atoms retain only shareable values. Use Abstract::Molecule.define to declare named fields. Explicitly supplied atoms keep their own storage and comparison policies.

Method Summary

Methods included from Farce::Shareable

#initialize, #ractor_shareable?

Methods inherited from Abstract::Molecule

atoms, #atoms, compare_by_identity?, #compare_by_identity?, define, #each, #each_atom, #each_member, #each_value, #freeze, #initialize, members, #members