Module: NoBacksies::Callbacks

Defined in:
lib/no_backsies.rb

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object

Apply all supported callback modules.



99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/no_backsies.rb', line 99

def self.append_features(base)
  base.extend CallbackMethods
  base.extend MethodAdded
  base.extend MethodRemoved
  base.extend MethodUndefined
  base.extend SingletonMethodAdded
  base.extend SingletonMethodRemoved
  base.extend SingletonMethodUndefined
  base.extend ConstMissing
  base.extend Included
  base.extend Extended
  base.extend Inherited
end