module NeverBounce::API::Feature::Eigencache

Eigenclass (singleton class)-based cache which allows to handle “hidden” instance variables. @see InstanceMethods#_cache

Public Class Methods

load(owner) click to toggle source

@param owner [Class] @return [nil]

# File lib/never_bounce/api/feature/eigencache.rb, line 8
def self.load(owner)
  return if owner < InstanceMethods
  owner.send(:include, InstanceMethods)
end