Guest User

Untitled

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