Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 5/15/18 I learned how to use the attr_accessor keyword in Ruby to automatically set my writer and reader methods for
- the instance variables that I create. This saves memory when instrumenting my code. I also learned how to have my initialize
- constructor take in a single hash which gives me the flexibility to move around my symbols and value pairs setting up a new
- instance of my class.
Add Comment
Please, Sign In to add comment