4 ms·
Tokens beginning with a colon are literal Ruby symbols. Prepending an ampersand before the last argument of a method call means that argument should be convert
by Darmani 19y ago
Tokens beginning with a colon are literal Ruby symbols.
Prepending an ampersand before the last argument of a method call means that argument should be converted into a Proc and sent as a callback block to that method.