Module: Intellihash::Callbacks

Defined in:
lib/intellihash/callbacks.rb

Constant Summary collapse

AFTER_CALLBACK_TARGETS =

ruby-doc.org/core-3.0.1/Hash.html

Methods that return a copy of :self: need this callback to populate :intelligent: from :self:

%i[
  compact
  invert
  merge
  reject
  select
  slice
  to_h
  transform_keys
  transform_values
].freeze