Guest User

Untitled

a guest
Aug 16th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.16 KB | None | 0 0
  1. # Case D
  2.  
  3. my_array = [
  4.   {first_name: 'bar', last_name: 'foo'}
  5. ]
  6.  
  7. array! people: my_array do |person|
  8.   extract! person, :last_name, :first_name
  9. end
Add Comment
Please, Sign In to add comment