Module: NeverBounce::API::Feature::Eigencache

Defined in:
lib/never_bounce/api/feature/eigencache.rb

Overview

Eigenclass (singleton class)-based cache which allows to handle “hidden” instance variables.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.load(owner) ⇒ nil

Parameters:

  • owner (Class)

Returns:

  • (nil)


8
9
10
11
# File 'lib/never_bounce/api/feature/eigencache.rb', line 8

def self.load(owner)
  return if owner < InstanceMethods
  owner.send(:include, InstanceMethods)
end