Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 633 Bytes

object_model_intro.markdown

File metadata and controls

17 lines (12 loc) · 633 Bytes

Ruby Object Model First Look

First, watch this introductory video from Richard Schneeman: video

Then, watch this video from Peter Cooper describing the object model in more depth: video (don't worry if many of the concepts from the second video are confusing; we're interested in the broad picture).

Questions

After watching the video, answer these 3 questions:

  1. Where are instance methods stored for an object?
  2. How do we define methods on a class?
  3. What is the default receiver of methods invoked within an object?