OO Ruby Object Orientation Video Review
Last updated
Last updated
This is a long video! However, it offers a great review of the OO concepts that you have learned and presents them in a very holistic way.
Explain how objects are metaphors for real live concepts
Explain how everything is an object in Ruby
Describe the self
keyword in Ruby and how to call methods on objects
Call a method using the send
method
Add attributes to an Object with setter/getter methods and instance variables
Distinguish between the different scopes of classes, instances, and global variables
Keep track of all our class' instances with class variables and class methods
Describe an example of programming an attr_accessor
method
<iframe width="100%" height="720" src="" frameborder="0" allowfullscreen></iframe>
View on Learn.co and start learning to code for free.