General

Profile

ursm (Keita Urashima)

  • Login: ursm
  • Email: ursm@ursm.jp
  • Registered on: 01/13/2009
  • Last sign in: 09/13/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Like

Activity

10/08/2024

11:30 PM Ruby master Feature #20738: Removing a specific entry from a hash literal
OK, I'm sorry to hear that, but I'm glad to hear your opinions. Thanks. ursm (Keita Urashima)

09/16/2024

01:35 AM Ruby master Feature #20738: Removing a specific entry from a hash literal
It would be better to explain the motive. This is an appropriate code.
``` ruby
{
foo: 1
bar: 2
}
```
...
ursm (Keita Urashima)
01:19 AM Ruby master Feature #20738: Removing a specific entry from a hash literal
I would like to offer that as I used a simple grep pattern, I could only find simple examples. I wanted to show that ... ursm (Keita Urashima)

09/15/2024

12:36 PM Ruby master Feature #20738: Removing a specific entry from a hash literal
Eregon (Benoit Daloze) wrote in #note-8:
> I don't think it's very frequent to need this to warrant a syntax change ...
ursm (Keita Urashima)

09/14/2024

05:24 AM Ruby master Feature #20738: Removing a specific entry from a hash literal
I believe that the following two points will prevent the same problems as in the past:
1. Use a value that is neve...
ursm (Keita Urashima)

09/13/2024

02:58 PM Ruby master Feature #20738: Removing a specific entry from a hash literal
With the previous idea, I can't have both removing entries and returning nil depending on the condition.
``` ruby
...
ursm (Keita Urashima)
01:17 PM Ruby master Feature #20738: Removing a specific entry from a hash literal
nobu (Nobuyoshi Nakada) wrote in #note-1:
> "A special value" doesn't feel like a good idea to me.
Hmmm, does tha...
ursm (Keita Urashima)
12:16 PM Ruby master Feature #20738: Removing a specific entry from a hash literal
Yes, I sometimes do that as well. However, I am not happy that the shape of the resulting hash is unclear. ursm (Keita Urashima)
07:33 AM Ruby master Feature #20738 (Rejected): Removing a specific entry from a hash literal
Sometimes I want to decide whether or not to add a particular entry to a hash depending on a condition. If the entire... ursm (Keita Urashima)

02/19/2014

05:59 PM Ruby master Bug #9535 (Closed): Kernel.send(:initialize_copy, Kernel) で segmentation fault
以下のコードを実行すると segmentation fault が起きます。
Kernel.send(:initialize_copy, Kernel)
trunk (45047)、2.1.0p0、2.0.0p35...
ursm (Keita Urashima)

Also available in: Atom