Class: Exwiw::RowTransformer::Person
- Inherits:
-
Struct
- Object
- Struct
- Exwiw::RowTransformer::Person
- Defined in:
- lib/exwiw/row_transformer.rb
Overview
A coherent fake identity. All person-family types (PERSON_TYPES) draw
from one shared pool of these per locale, and a seed picks the same pool
index for every such column — so last_name / first_name / full name (and
their kana) for one seed all belong to the same person. kana fields are
only populated for the ja locale (faker has no readings; exwiw bundles
a paired dataset — see JapaneseNames); they are nil otherwise.
Instance Attribute Summary collapse
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#first_name_kana ⇒ Object
Returns the value of attribute first_name_kana.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#last_name_kana ⇒ Object
Returns the value of attribute last_name_kana.
Instance Attribute Details
#first_name ⇒ Object
Returns the value of attribute first_name
49 50 51 |
# File 'lib/exwiw/row_transformer.rb', line 49 def first_name @first_name end |
#first_name_kana ⇒ Object
Returns the value of attribute first_name_kana
49 50 51 |
# File 'lib/exwiw/row_transformer.rb', line 49 def first_name_kana @first_name_kana end |
#last_name ⇒ Object
Returns the value of attribute last_name
49 50 51 |
# File 'lib/exwiw/row_transformer.rb', line 49 def last_name @last_name end |
#last_name_kana ⇒ Object
Returns the value of attribute last_name_kana
49 50 51 |
# File 'lib/exwiw/row_transformer.rb', line 49 def last_name_kana @last_name_kana end |