General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 07/15/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 59 131 190

Like

Activity

12/04/2022

08:57 PM Ruby master Feature #10343: Postfix notations for `when` and `else` inside `case` statement
After eight years, I still think this would be a good feature. Any opinions? sawa (Tsuyoshi Sawada)
06:44 AM Ruby master Feature #17942: Add a `initialize(public @a, private @b)` shortcut syntax for defining public/private accessors for instance vars as part of constructor
LevLukomskyi (Lev Lukomskyi) wrote in #note-6:
> [Y]ou are forced to create a lot of duplication [...]
>
> class...
sawa (Tsuyoshi Sawada)

11/28/2022

03:04 PM Ruby master Misc #19155: documentation of Pathname#join with absolute path
There is a description.
The doc https://docs.ruby-lang.org/ja/latest/class/Pathname.html#I_JOIN says:
```ruby
...
sawa (Tsuyoshi Sawada)

11/13/2022

02:30 AM Ruby master Feature #19128: Hash#delete could take a second argument as the default value?
Since you are avoiding doing:
```rb
{}.delete(:a) || []
```
it must be the case that you have a hash in which...
sawa (Tsuyoshi Sawada)

11/08/2022

04:15 AM Ruby master Misc #19111 (Closed): Issues with "feedback" status are tagged as "closed
I see that the issues under the status "feedback" are tagged as "closed" in the title and in the list. Is this a bug ... sawa (Tsuyoshi Sawada)

11/07/2022

04:58 PM Ruby master Misc #19109: Documentation ambiguity in ERB
[Updated.]
(1) Your description:
> The value of trim_mode should be nil or a String containing zero or more of the ...
sawa (Tsuyoshi Sawada)

11/03/2022

08:31 PM Ruby master Feature #19099: Support `private_constant` for an undefined constant
Related to #8275, #16276, #16752, #17171. sawa (Tsuyoshi Sawada)

11/01/2022

03:28 PM Ruby master Misc #19096: [Question] Time with `-00:00` offset is in UTC
On my computer, which is set to JST (+0900), the three examples make no difference:
```rb
Time.new(2022, 1, 1, 0, 0,...
sawa (Tsuyoshi Sawada)

10/31/2022

06:33 AM Ruby master Feature #19094: `sleep(nil)` vs `sleep()` and replicating the default implementation.
I don't think it is hard to implement. All you need is a twinkle little star.
```rb
class Sleeper
def initialize(t...
sawa (Tsuyoshi Sawada)

10/24/2022

05:42 AM Ruby master Bug #19080: String Range inclusion using `===` broken
You need to zero-pad the strings in order to compare them correctly by the number they express. It is an advanced thi... sawa (Tsuyoshi Sawada)

Also available in: Atom