Pass symbol as an argument instead of a block
Merge pull request #16833 from sferik/symbol_to_proc

Pass symbol as an argument instead of a block