Module: NeverBounce::CLI::Feature::RequireAttr

Defined in:
lib/never_bounce/cli/feature/require_attr.rb

Overview

Provide attribute validation method(s) to the owner class.

See Also:

  • InstanceMethods#initialize

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.load(owner) ⇒ nil


8
9
10
11
# File 'lib/never_bounce/cli/feature/require_attr.rb', line 8

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