Class: Renalware::Letters::ContactPresenter
Instance Method Summary
collapse
#inspect, #public_send, #send, #try, #try!
Instance Method Details
#description_name ⇒ Object
8
9
10
|
# File 'app/presenters/renalware/letters/contact_presenter.rb', line 8
def description_name
description.unspecified? ? other_description : description.to_s
end
|
#name_and_description ⇒ Object
12
13
14
|
# File 'app/presenters/renalware/letters/contact_presenter.rb', line 12
def name_and_description
"#{self} (#{description_name})"
end
|