General

Profile

sunnyrjuneja (Sunny Juneja)

  • Registered on: 05/16/2018
  • Last connection: 05/16/2018

Issues

Activity

05/16/2018

04:41 AM Ruby trunk 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...
sunnyrjuneja (Sunny Juneja)
04:05 AM Ruby trunk 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...
sunnyrjuneja (Sunny Juneja)
02:02 AM Ruby trunk 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...
sunnyrjuneja (Sunny Juneja)

Also available in: Atom