Accepting arguments for method defined by add_to_class

This seems like what you’re looking for. Makes for a good example.

So, basically, you’ll have to make those params as params to the lambda itself.

2 Likes