Method: Array::Hooked::ArrayInterface#delete_if_without_hooks
- Defined in:
- lib/array/hooked/array_interface.rb
#delete_if_without_hooks { ... } ⇒ Object
Alias to :delete_if that bypasses hooks.
964 965 966 967 968 969 970 971 972 973 974 |
# File 'lib/array/hooked/array_interface.rb', line 964 def delete_if_without_hooks( & block ) @without_hooks = true delete_if( & block ) @without_hooks = false return self end |