Class: Resume::ContactsInformation
- Inherits:
-
Object
- Object
- Resume::ContactsInformation
- Defined in:
- lib/yohan.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#phone_number ⇒ Object
readonly
Returns the value of attribute phone_number.
Instance Method Summary collapse
-
#initialize ⇒ ContactsInformation
constructor
A new instance of ContactsInformation.
Constructor Details
#initialize ⇒ ContactsInformation
Returns a new instance of ContactsInformation.
4 5 6 7 8 |
# File 'lib/yohan.rb', line 4 def initialize @name = "Yohan Lee" @phone_number = "347-522-6583" @email = "[email protected]" end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
10 11 12 |
# File 'lib/yohan.rb', line 10 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/yohan.rb', line 10 def name @name end |
#phone_number ⇒ Object (readonly)
Returns the value of attribute phone_number.
10 11 12 |
# File 'lib/yohan.rb', line 10 def phone_number @phone_number end |