Actions
Feature #20657
closedAllow Enumerable#map(&:method) and #each accept additional parameters for method
Feature #20657:
Allow Enumerable#map(&:method) and #each accept additional parameters for method
Status:
Feedback
Assignee:
-
Target version:
-
Description
I can use #map (or #each) with short method name, for example:
But with additional arguments I must use yield:
Direct sending allow make the code more simple:
Actions