Ruby is a dynamic language. One of the coolest feature is the dynamic method call. Image you have a Integer Object.
a = 5
On every Object you can call the “to_s” method, that will convert it to String.
a.to_s
Will return the String representation of 5 that is “5”. But you can also call the method in a dynamic way:
a.send("to_s")
That is cool! Int that way you can make method calls dynamically and configurable.