Class: Resume::ContactsInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/yohan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContactsInformation

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

#addressObject (readonly)

Returns the value of attribute address.



11
12
13
# File 'lib/yohan.rb', line 11

def address
  @address
end

#emailObject (readonly)

Returns the value of attribute email.



11
12
13
# File 'lib/yohan.rb', line 11

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/yohan.rb', line 11

def name
  @name
end

#phone_numberObject (readonly)

Returns the value of attribute phone_number.



11
12
13
# File 'lib/yohan.rb', line 11

def phone_number
  @phone_number
end