sunnyrjuneja (Sunny Juneja)
- Login: sunnyrjuneja
- Registered on: 05/16/2018
- Last sign in: 05/16/2018
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 0 | 1 | 1 |
Activity
05/16/2018
- 04:41 AM Ruby master Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- sawa (Tsuyoshi Sawada) wrote:
> I think `reduce` or `inject` taking a method name as an argument was convenient in t... - 04:05 AM Ruby master Feature #14763: Allow more Enumerable methods to accept method names as symbol arguments
- Hey Shevegen,
Thank you for your comments. I really apperciate them! I'll respond inline:
shevegen (Robert A. H... - 02:02 AM Ruby master Feature #14763 (Closed): Allow more Enumerable methods to accept method names as symbol arguments
- Enumerable has a short hand which accepts method names as symbols.
```ruby
(5..10).reduce(:+) #=> 45
```
I'm pr...
Also available in: Atom