General

Profile

jgomo3 (Jesús Gómez)

  • Login: jgomo3
  • Registered on: 03/01/2020
  • Last connection: 05/22/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

03/03/2020

03:40 PM Ruby master Feature #16667: Allow parameters to Symbol#to_proc and Method#to_proc
Hanmac (Hans Mackowiak) wrote in #note-8:
> @jgomo3 i found my old Symbol#call code
>
Great helper.
Well, that is ...
jgomo3 (Jesús Gómez)
01:37 PM Ruby master Feature #16667: Allow parameters to Symbol#to_proc and Method#to_proc
Hanmac (Hans Mackowiak) wrote in #note-5:
> i tried `ary.map.with_object(:id,&:dig)` but it just returned `:id`
>
> ...
jgomo3 (Jesús Gómez)
12:56 PM Ruby master Feature #16667: Allow parameters to Symbol#to_proc and Method#to_proc
sawa (Tsuyoshi Sawada) wrote in #note-4:
> I already know that. That does not make `ary.map(:dig.to_proc(:id))` work....
jgomo3 (Jesús Gómez)

03/02/2020

08:14 PM Ruby master Feature #16667: Allow parameters to Symbol#to_proc and Method#to_proc
> I am not sure how allowing parameters to Symbol#to_proc and Method#to_proc would make:
>
> ary.map(:dig.to_proc(:i...
jgomo3 (Jesús Gómez)

03/01/2020

04:07 PM Ruby master Feature #16667 (Open): Allow parameters to Symbol#to_proc and Method#to_proc
Allow parameters to Symbol#to_proc and Method#to_proc
So we can say:
``` ruby
ary.map(:dig.to_proc(:id))
```
...
jgomo3 (Jesús Gómez)

Also available in: Atom