Class: Resume::ContactsInformation
- Inherits:
-
Object
- Object
- Resume::ContactsInformation
- Defined in:
- lib/yohan.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#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 9 |
# File 'lib/yohan.rb', line 4 def initialize @name = "Yohan Lee" @phone_number = "347-522-6583" @email = "[email protected]" @address = "820 Fenimore Rd Larchmont, NY 10538" end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
11 12 13 |
# File 'lib/yohan.rb', line 11 def address @address end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
11 12 13 |
# File 'lib/yohan.rb', line 11 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/yohan.rb', line 11 def name @name end |
#phone_number ⇒ Object (readonly)
Returns the value of attribute phone_number.
11 12 13 |
# File 'lib/yohan.rb', line 11 def phone_number @phone_number end |