re: Ruby 2.6 new feature: refine `#to_proc` VIEW POST

FULL DISCUSSION
 

&o.:[] the amount of sugar in these 6 symbols gave me diabetes.

 

140% symbols😋🍭

  • map(&o.:[])
    • (
    • &
    • .
    • :
    • [
    • ]
    • )
  • map{|k|o[k]}
    • {
    • |
    • [
    • ]
    • }
code of conduct - report abuse