Ruby #call method
Ruby method #call is common interface protocol for calling Lambdas, Method objects, Procs,… In this article I’ll try to present why it’s important to name the run method #call in your custom class objects
Ruby method #call is common interface protocol for calling Lambdas, Method objects, Procs,… In this article I’ll try to present why it’s important to name the run method #call in your custom class objects
Post a comment