RubyFlow The Ruby and Rails community linklog

Alias method for #call()

This is a cool thing I just found out. Ruby has an alias to the #call() method which I didn’t know about.

According to the documentation the method #.() is an alias to #call(). More here: http://matiasleidemer.github.io/2015/08/25/alias-method-for-call.html

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in