Module: NoBacksies::MethodRemoved
- Defined in:
- lib/no_backsies.rb
Overview
Callback system for #method_removed.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.append_features(base) ⇒ Object
197 198 199 200 |
# File 'lib/no_backsies.rb', line 197 def self.append_features(base) base.extend CallbackMethods base.extend self end |
Instance Method Details
#method_removed(method) ⇒ Object
203 204 205 206 207 208 209 |
# File 'lib/no_backsies.rb', line 203 def method_removed(method) if defined?(super) callback_invoke(:method_removed, method){ super(method) } else callback_invoke(:method_removed, method) end end |