General

Profile

tagomoris (Satoshi TAGOMORI)

Issues

Projects

Activity

01/25/2018

05:59 AM Ruby trunk Feature #14371 (Rejected): New option "recursive: true" for Hash#transform_keys!
I see. Thank you!

01/18/2018

05:59 AM Ruby trunk Feature #14371: New option "recursive: true" for Hash#transform_keys!
> Why prefer `each` over `transform_keys!`?
> And probably you wanted to write `elsif`.
Your points are correct. ...
05:29 AM Ruby trunk Feature #14371 (Rejected): New option "recursive: true" for Hash#transform_keys!
`Hash#transform_keys!` is available when we want to symbolize hash keys.
But in some/many cases (for example, receiv...

12/12/2017

12:28 PM Ruby trunk Feature #14168 (Closed): C call to raise FrozenError
12:25 PM Ruby trunk Feature #14168: C call to raise FrozenError
Naruse told me about rb_check_frozen(), and it completely works as I expected.
Please close this ticket.
tagomori...
12:16 PM Ruby trunk Feature #14168 (Closed): C call to raise FrozenError
Currently we need to check the object is frozen or not by `isFrozen` and raise error (RuntimeError or FrozenError) un...

09/26/2017

04:52 AM Ruby trunk Feature #13923: Idiom to release resources safely, with less indentations
shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue in a developer meeting today and nobu's library solution ...

09/20/2017

10:41 AM Ruby trunk Feature #13923: Idiom to release resources safely, with less indentations
nobu (Nobuyoshi Nakada) wrote:
> Probably a way which is close to it right now would be:
>
> ```ruby
> begin
> ...
06:50 AM Ruby trunk Feature #13919: Add a new method to create Time instances from unix time and nsec
`Time.at_nsec` is ok for me, but it seems to take just one argument of nano seconds from epoch.
* `Time.at_nsec(ns...
06:21 AM Ruby trunk Feature #13923 (Feedback): Idiom to release resources safely, with less indentations
In programs which grabs and releases resources very often, we need to write so much begin-ensure clauses.
```ruby
...

Also available in: Atom