Method: Cautious#when_extended
- Defined in:
- lib/cautious.rb
#when_extended(&block) ⇒ Object
Create a callback, which is fired whenever this module is extend.
172 173 174 |
# File 'lib/cautious.rb', line 172 def when_extended(&block) @cautious_extended_block = block end |