11 ms·
Sure, but I don't see anything ruby-specific about default argument values.
by hobo_mark 11y ago
Sure, but I don't see anything ruby-specific about default argument values.
- nyargh 11y agoUsing the || (or ||=) operator when assigning a local variable from an argument is ruby idiom to specify a default.