DEV Community

Lucian Ghinda
Lucian Ghinda

Posted on • Originally published at newsletter.shortruby.com

Ways to call a method in Ruby

This is a code summary for https://www.notonlycode.org/12-ways-to-call-a-method-in-ruby/

Part 1/4 Defining the class

Part 2/4: Ways to call a method

Part 3/4: Other ways to call a method

Part 4/4: using bind and binding

The source code if you want to play with this is here.


Follow me on Twitter @lucianghinda where I share/retweet mostly Ruby and Rails content.

I also publish a newsletter with Ruby and Rails fresh content at newsletter.shortruby.com — in case you want to stay up to date with what is happening in Ruby and Rails world.

Top comments (0)