Module: NeverBounce::API::Feature::Oattrs
- Defined in:
- lib/never_bounce/api/feature/oattrs.rb
Overview
Declare and manage on-the-fly (OTF) attributes of the class, codenamed “oattrs”.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.load(owner) ⇒ nil
9 10 11 12 13 |
# File 'lib/never_bounce/api/feature/oattrs.rb', line 9 def self.load(owner) return if owner < InstanceMethods owner.extend(ClassMethods) owner.send(:include, InstanceMethods) end |