Class: Rsvp::Salutation::Widower
- Inherits:
-
Rsvp::Salutation
- Object
- Rsvp::Salutation
- Rsvp::Salutation::Widower
- Defined in:
- app/models/rsvp/salutation/widower.rb
Instance Attribute Summary
Attributes inherited from Rsvp::Salutation
Instance Method Summary collapse
Methods inherited from Rsvp::Salutation
Constructor Details
This class inherits a constructor from Rsvp::Salutation
Instance Method Details
#male ⇒ Object
3 4 5 |
# File 'app/models/rsvp/salutation/widower.rb', line 3 def male family.people.adult_males.first end |
#template ⇒ Object
6 7 8 |
# File 'app/models/rsvp/salutation/widower.rb', line 6 def template "Mr. [[male__first_name]] [[male__last_name]]" end |