Class: Ppl::Entity::Name
- Inherits:
-
Object
- Object
- Ppl::Entity::Name
- Defined in:
- lib/ppl/entity/name.rb
Instance Attribute Summary collapse
-
#family ⇒ Object
Returns the value of attribute family.
-
#full ⇒ Object
Returns the value of attribute full.
-
#given ⇒ Object
Returns the value of attribute given.
-
#middle ⇒ Object
Returns the value of attribute middle.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#suffix ⇒ Object
Returns the value of attribute suffix.
Instance Method Summary collapse
Instance Attribute Details
#family ⇒ Object
Returns the value of attribute family.
3 4 5 |
# File 'lib/ppl/entity/name.rb', line 3 def family @family end |
#full ⇒ Object
Returns the value of attribute full.
2 3 4 |
# File 'lib/ppl/entity/name.rb', line 2 def full @full end |
#given ⇒ Object
Returns the value of attribute given.
4 5 6 |
# File 'lib/ppl/entity/name.rb', line 4 def given @given end |
#middle ⇒ Object
Returns the value of attribute middle.
5 6 7 |
# File 'lib/ppl/entity/name.rb', line 5 def middle @middle end |
#prefix ⇒ Object
Returns the value of attribute prefix.
6 7 8 |
# File 'lib/ppl/entity/name.rb', line 6 def prefix @prefix end |
#suffix ⇒ Object
Returns the value of attribute suffix.
7 8 9 |
# File 'lib/ppl/entity/name.rb', line 7 def suffix @suffix end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/ppl/entity/name.rb', line 9 def to_s @full end |