From: Tim Bates Date: 2002-11-26T10:08:16+09:00 Subject: Default value of property I have an object, with a method that returns another object, or nil under certain circumstances. Is there a better way to arrange things than to have to write if object.property object.property.method else default_value end every time? I can't just do "object.property.method" because if 'object.property' returns nil then it fails and tells me that nil doesn't have a 'method' method. Tim Bates -- tim@bates.id.au