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
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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