Metaprogramming: Invoking Methods
Object-oriented programs generally involves objects passing messages back and forth between themselves. This is what happens when methods are invoked i.e when we call a method of function. When methods of objects are called, it can be said that “messages are being sent to that object”. The send method in Ruby, is used to invoke...
keep reading >