On Tue, Jan 8, 2013 at 4:46 AM, Josh Cheek <josh.cheek / gmail.com> wrote:
> Hi, I want to be able to identify whether a line of code will return,
> because I want to modify it to capture it's return value. If it returns,
> this results in a syntax error:

Why do you need to modify the line?  Can't you catch it at the calling
site or by decorating the method?

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/