Method: Array::Hooked::ArrayInterface#delete_objects_without_hooks
- Defined in:
- lib/array/hooked/array_interface.rb
#delete_objects_without_hooks(*objects) ⇒ Object
Alias to :delete that bypasses hooks and takes multiple objects.
907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/array/hooked/array_interface.rb', line 907 def delete_objects_without_hooks( *objects ) @without_hooks = true return_value = delete_objects( *objects ) @without_hooks = false return return_value end |