Method: Array::Hooked::ArrayInterface#reject_without_hooks!
- Defined in:
- lib/array/hooked/array_interface.rb
#reject_without_hooks! { ... } ⇒ Object
Alias to :reject that bypasses hooks.
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 |
# File 'lib/array/hooked/array_interface.rb', line 1038 def reject_without_hooks!( & block ) @without_hooks = true reject!( & block ) @without_hooks = false return return_value end |