Module: MoneyAttribute::AttributeSpecRegistry Private

Extended by:
ActiveSupport::Concern
Defined in:
lib/money_attribute/attribute_spec_registry.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Stores money attribute metadata on the model class.

Holds a per-model registry of AttributeSpec objects plus derived caches (name set, regex patterns) populated lazily on first access.

Constant Summary collapse

REGISTRY =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Concurrent::Map.new
PATTERNS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Concurrent::Map.new