1. 2
  1.  

  2. 1

    I’m not sure how I feel about this. I can see the potential value but I worry this will only lead to added code complexity. This feels like a shortcut to writing one-off private methods in a class or module, which I guess can be useful. I suppose most of my concerns come from developers being bad developers versus the method itself.

    Stories with similar links:

    1. New method Kernel#yield_self (since Ruby 2.5.0) via BenoitTigeot 3 years ago | 1 point | no comments