```ruby
def bag_search
  bag = ["wallet", "phone", "calculator", "gum", "key"]
  puts bag
  puts "This is right before our block"
  yield
  puts "Our block just ran. Wasn't it great?"

end

bag_search do |item|
  if bag.include? (item)
    puts "You've got it in the bag!"
  else
    puts "Better luck next time"
  end
end```

Add code for method that takes a block
user
```ruby
def bag_search
  item1 = "wallet"
  item2 = "keys"
  puts "I'm about to look in your bag"
  yield(item1, item2)
  puts "Now I know what's in your bag."

end

bag_search {|item1, item2| puts "Your bag has #{item1} and #{item2}"}```
assistant