Method: Actor#on_destroy
- Defined in:
- lib/fantasy/actor.rb
#on_destroy(&block) ⇒ Object
The block to be executed before the Actor is destroyed
448 449 450 |
# File 'lib/fantasy/actor.rb', line 448 def on_destroy(&block) @on_destroy_callback = block end |