FICHA · MANJARO

ruby-memoist3

ActiveSupport::Memoizable with a few enhancements (updated for Ruby 3)

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

Description

Adds Ruby 3-compatible memoization helpers inspired by ActiveSupport::Memoizable. It is useful when repeated method results should be cached inside an object for performance.

Cached method results can become wrong when hidden inputs change. Avoid memoizing permission checks, user-specific data, or values that depend on time unless invalidation is explicit.

Permissions

Permissions not analysed for this source yet.