From: Mike Steiner Date: 2007-06-19T02:22:58+09:00 Subject: one-line function definitions ------=_Part_48716_11988492.1182187377668 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm converting some code from Python to Ruby and can't figure out the syntax for one-line function definitions in Ruby. For example, what would this line be in Ruby? def GetAnthologyTitle ( data , prefix ): return GetField ( data , prefix , 'ANTHOLOGY-TITLE' ) Mike Steiner ------=_Part_48716_11988492.1182187377668--