Module: NoBacksies::Extended
- Defined in:
- lib/no_backsies.rb
Overview
Callback system for #extended.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.append_features(base) ⇒ Object
305 306 307 308 |
# File 'lib/no_backsies.rb', line 305 def self.append_features(base) base.extend CallbackMethods base.extend self end |
Instance Method Details
#extended(mod) ⇒ Object
311 312 313 314 315 316 317 |
# File 'lib/no_backsies.rb', line 311 def extended(mod) if defined?(super) callback_invoke(:extended, mod){ super(mod) } else callback_invoke(:extended, mod) end end |