Class: Resume::Address

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city.



273
274
275
# File 'lib/resume.rb', line 273

def city
  @city
end

#stateObject

Returns the value of attribute state.



274
275
276
# File 'lib/resume.rb', line 274

def state
  @state
end

#streetObject

Returns the value of attribute street.



272
273
274
# File 'lib/resume.rb', line 272

def street
  @street
end

#zipObject

Returns the value of attribute zip.



275
276
277
# File 'lib/resume.rb', line 275

def zip
  @zip
end

Class Method Details

.scaffoldObject



277
278
279
280
281
282
283
284
# File 'lib/resume.rb', line 277

def Address.scaffold
    address = Address.new
    address.street = "124 Any St, #666"
    address.city = "Sometown"
    address.state = "AZ"
    address.zip = "94118"
    address
end