jgomo3 (Jesús Gómez)
- Login: jgomo3
- Registered on: 03/01/2020
- Last sign in: 09/06/2023
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 1 | 1 | 2 |
Like
Activity
09/06/2023
- 12:17 PM Ruby master Bug #19864: Ruby 3.2 Changed Behavior With One Sided Ranges
- I tested the idea with whole numbers, and it doesn't fail.
I tested the idea with dates not in the extremes, and i...
03/31/2023
- 11:03 PM Ruby master Bug #19566 (Closed): OptionParser::on raises unsupported argument type: URI (ArgumentError) but shouldn't
- The documentation says
> OptionParser comes with a few ready-to-use kinds of type coercion. They are
> ..
> * UR...
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 ... - 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`
>
> ... - 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....
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...
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))
```
...
Also available in: Atom