← Graph

12 Ways to Call a Method in Ruby

resource 3 connections

Blog article by Greg Navis cataloguing 12 ways to call a method in Ruby, using a `User#hello` example. Referenced by Małaszkiewicz as a baseline; she argues for two additional call styles not in the list: `User::new.hello` via the scope resolution operator and `proc === arg` via triple-equals.

type
article
about
12 Ways to Call a Method in Ruby resource
Uses Greg Navis's article as the baseline catalogue of method-call styles.
person Greg Navis
authored
12 Ways to Call a Method in Ruby resource
Navis wrote the article Małaszkiewicz references.
recommends
12 Ways to Call a Method in Ruby resource
Directs audience to Greg Navis's article.

Provenance

Read by
2 extractions