Method: Blur.reset_scripts!
- Defined in:
- library/blur.rb
.reset_scripts! ⇒ Object
Resets all scripts.
This method will call ‘deinit` on each script class before removing them to give them a chance to clean up.
54 55 56 57 |
# File 'library/blur.rb', line 54 def self.reset_scripts! @@scripts.each_value &:deinit @@scripts.clear end |