Class: Rsvp::Salutation::Widow
- Inherits:
-
Rsvp::Salutation
- Object
- Rsvp::Salutation
- Rsvp::Salutation::Widow
- Defined in:
- app/models/rsvp/salutation/widow.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
#female ⇒ Object
3 4 5 |
# File 'app/models/rsvp/salutation/widow.rb', line 3 def female family.people.adult_females.first end |
#template ⇒ Object
6 7 8 |
# File 'app/models/rsvp/salutation/widow.rb', line 6 def template "Mrs. [[female__first_name]] [[female__last_name]]" end |