Flowdock
method

extract!

Importance_1
Ruby on Rails latest stable (v3.2.13) - 0 notes - Class: Hash
extract!(*keys) public

Removes and returns the key/value pairs matching the given keys.

{:a => 1, :b => 2, :c => 3, :d => 4}.extract!(:a, :b) # => {:a => 1, :b => 2}
Show source
Register or log in to add new notes.