Is there a way to use the array being acted upon inside of a method, like how in javascript you can send a copy of that array to the callback?
so something like:
array.something.somethingelse.anotherthing do |element|
#i want to be able to use array.something.somethingelse here without
#having to call something and somethingelse on the original array again
end