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