I have finished the book already but re-lokking at it i noticed that when the author explains at the beginning of the book the concepts of OOP he says that in OOP objects can interact with each other for example when an object (called the sender) sends a message (calls a method on) to another object. I don't really grasp this concept and it semms to me very strange as there isn't such a thing in OOP or rubu or rails i think. When we invoke methos we use the notation: "object.instance_method" directly in irb or in a ruby source file. Where and how we see an object that call another object's method?![]()






Bookmarks