1. 7
  1.  

  2. 3

    I didn’t get the point of minifying the solution.

    1. 3

      “golfing”, i.e. coming up with a solution in the fewest number of (key)strokes, is a popular game in the ruby world. like much else, it was inherited from the perl community.