3 ms·
Using the || (or ||=) operator when assigning a local variable from an argument is ruby idiom to specify a default.
by nyargh 11y ago
Using the || (or ||=) operator when assigning a local variable from an argument is ruby idiom to specify a default.