What is the best syntax for shorthand block parameters in ruby?

  • one: each{ |e| }
  • many: each{ |a,b,c,*| }
  • Created by Daniel 1 year, 6 months ago

Indicate your preferences below or view the results without voting.

  • one: __
  • many: _1, _2, _3
  • one: _0
  • many: _1, _2, _3
  • one: @
  • many: @1, @2, @3
  • one: _
  • many: _1, _2, _3
  • one: <>
  • many: <1>, <2>, <3>
  • one: __
  • many: _1_, _2_, _3_

If you think a reasonable candidate is missing, provide it below and rate it.