Which is your preferred ruby block syntax for obj.method?

  • Created by Daniel 1 year, 5 months ago

Indicate your preferences below or view the results without voting.

map(&:to_s)

map{ .to_s }

map{ _1.to_s }

map{ |x| x.to_s }

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