Method: Array::Hooked::ArrayInterface#pop_without_hooks
- Defined in:
- lib/array/hooked/array_interface.rb
#pop_without_hooks ⇒ Object
Alias to :pop that bypasses hooks.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'lib/array/hooked/array_interface.rb', line 1247 def pop_without_hooks @without_hooks = true object = pop @without_hooks = false return object end |