General

Profile

sawa (Tsuyoshi Sawada)

  • Registered on: 04/27/2011
  • Last connection: 08/14/2019

Issues

Activity

08/14/2019

09:24 PM Ruby master Feature #16104: Introduce merge_if and merge_if!
Do
```ruby
a.each_with_object(b: 'Ball') {|(k, v), h| h[k] = v if v == 'Apple'}
```
or
```ruby
{b: 'Ball'...
sawa (Tsuyoshi Sawada)
07:00 AM Ruby master Feature #16102: `Symbol#call`
Related to #6499, #6727, #7444, #8970, #11262. sawa (Tsuyoshi Sawada)
06:59 AM Ruby master Feature #16102 (Open): `Symbol#call`
Since symbols have a `to_proc` method, it is natural to expect that they would appear in a method chain like:
```r...
sawa (Tsuyoshi Sawada)

08/07/2019

10:56 AM Ruby master Bug #16050 (Rejected): :@ is not parsed correctly
Symbol literal allows `@` as the first character:
```ruby
:@foo # => :@foo
```
Nevertheless, it does not allo...
sawa (Tsuyoshi Sawada)

08/04/2019

01:25 AM Ruby master Feature #16039: Array#contains? to check if one array contains another array
I am not a fan of this feature, but by analogy from `Range`, `cover?` may be a better name. sawa (Tsuyoshi Sawada)

08/02/2019

11:50 AM Ruby master Feature #16037 (Open): Allow multiple single/double-splatted variables in `in` pattern matching and introduce non-greedy-splatted variables
Pattern matching in `in` argument seems to prohibit multiple occurrences of single/double-splatted variables.
```r...
sawa (Tsuyoshi Sawada)

07/31/2019

07:27 PM Ruby master Bug #16031: Inconsistency between Date::strptime and Time::strptime at the end of a month
Perhaps, an option to chose between the two kinds of behavior may be useful for both `Date` and `Time`. Something lik... sawa (Tsuyoshi Sawada)

07/18/2019

10:44 AM Ruby master Bug #16010 (Rejected): Sole single-splatted variable with an array object in an assignment construction gobbles an additional nesting of array
When a single splatted variable appears as the sole argument on the left side of assignment with an array on the righ... sawa (Tsuyoshi Sawada)

07/16/2019

04:01 AM Ruby master Feature #16006: String count and alignment that consider multibyte characters
shyouhei (Shyouhei Urabe) wrote:
> This particular proposal is NG. ASCII vs. non-ASCII is too Asian-centric. There...
sawa (Tsuyoshi Sawada)
03:35 AM Ruby master Feature #16006 (Rejected): String count and alignment that consider multibyte characters
In non-proportional font, multibyte characters have twice the width of ASCII characters. Since `String#length`, `Stri... sawa (Tsuyoshi Sawada)

Also available in: Atom