ga-wdi-boston / ruby-object-self

Other
1 stars 141 forks source link

Make pry instructions more clear #19

Closed BenGitsCode closed 7 years ago

BenGitsCode commented 8 years ago
##Lab: Getters and Setters

Have a look at [`lib/person.rb`](lib/person.rb). Notice how our custom setter has a side effect? Take a moment to read the code, and write comments with what you expect the code to do. Then load the file in a console and try running the following snippets.
`pry`
`>>> require_relative 'lib/person.rb'`

This^