From: Tarek Other Date: 2008-11-13T05:31:15+09:00 Subject: Issue with block and getting to local variables Ok I'm new to ruby and want to do the following, I want to define a function that is a ble to call a block and I want that block to have access to the calling function's local variables. Also I'd like that block of code to be attached to a variable so I can call it were and when ever. Thanks -- Posted via http://www.ruby-forum.com/.