Class: FamilySearch::Gedcomx::Name

Inherits:
Conclusion show all
Defined in:
lib/familysearch/gedcomx/data_model.rb

Instance Method Summary collapse

Methods included from SuperCoercion

included

Instance Method Details

#fullTextObject



349
350
351
# File 'lib/familysearch/gedcomx/data_model.rb', line 349

def fullText
  (nameForms && nameForms[0]) ? nameForms[0].fullText : ""
end

#given_nameObject



357
358
359
# File 'lib/familysearch/gedcomx/data_model.rb', line 357

def given_name
  (nameForms && nameForms[0]) ? nameForms[0].given_name : ""
end

#surnameObject



353
354
355
# File 'lib/familysearch/gedcomx/data_model.rb', line 353

def surname
  (nameForms && nameForms[0]) ? nameForms[0].surname : ""
end