app/models/location.rb
# Returns descriptive text for this Location.
Returns descriptive text for this Location.
Returns descriptive text for this Location .
def entry_text
    output = ["#{name} (#{addr1}, #{addr2})."]
    output << "Check eligibility and sign-up at #{link}" if link.present?
    output * "\n"
  end
def entry_text output = [ "#{name} (#{addr1}, #{addr2})." ] output << "Check eligibility and sign-up at #{link}" if link . present? output * "\n" end
Returns descriptive text for this Location.
Returns descriptive text for this Location .