IanWhalen/top_out — Issue #19: Refactor to verify object availability prior to method call
Author: IanWhalen
Created: 2011-11-23 15:16:56+00:00
State: open
Labels: TASK

A) @person && @person.name
B) @person.name if @person

can be written as:

@person.try(:name)