From: Robert Klemme Date: 2013-01-08T17:41:32+09:00 Subject: Re: How to identify whether a line of code will return? On Tue, Jan 8, 2013 at 4:46 AM, Josh Cheek 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/