Negative 1 Assessment: Hash Select Monkey Patch

I am supposed to complete the monkey patch on a select method for hashes in the hash class with the use of a proc:

def my_select(&prc)


I don’t really even know where to begin because I don’t know how to access the key value pairs that will be passed to the proc so I can create a new hash, nor have I seen an example of this. The only variable/object for me to access is the proc itself.

If a TA could help me get started that would be greatly appreciated. I have some code written up that I can share at TA’s request but I’m fairly certain its the wrong way to start.