General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 11/25/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 75 110 185

Activity

11/30/2021

02:21 PM Ruby master Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
I think that is too specific to be a part of Ruby core. I don't think this feature would be accepted.
I think you ca...
sawa (Tsuyoshi Sawada)
06:17 AM Ruby master Feature #12084: `Class#instance`
ufuk (Ufuk Kayserilioglu) wrote in #note-4:
> ```ruby
> Array.attached_object # => nil
> "foo".attached_object # => n...
sawa (Tsuyoshi Sawada)
06:05 AM Ruby master Feature #18366: Enumerator#return_eval
mame (Yusuke Endoh) wrote in #note-8:
> `a.lazy.map(&:length).max`
Thank you. That seems to do the work.
I hav...
sawa (Tsuyoshi Sawada)

11/29/2021

09:46 AM Ruby master Feature #18367: Stop the interpreter from escaping error messages
+1
A very minor thing: "a control character(s)" is wrong. It should be either "a control character", "control char...
sawa (Tsuyoshi Sawada)
05:39 AM Ruby master Feature #18366: Enumerator#return_eval
baweaver (Brandon Weaver) wrote in #note-2:
> It seems the common usecase you have isolated is similar to the idea of...
sawa (Tsuyoshi Sawada)
04:04 AM Ruby master Feature #18366 (Rejected): Enumerator#return_eval
Some `Enumerable` methods return one or more of the receiver's elements according to the return value of a block it t... sawa (Tsuyoshi Sawada)

11/17/2021

01:47 AM Ruby master Feature #18273: Class#subclasses
mame (Yusuke Endoh) wrote in #note-8:
> I think we don't say "C is a superclass of E" in the same situation, but I'm ...
sawa (Tsuyoshi Sawada)

11/16/2021

08:55 AM Ruby master Feature #18273: Class#subclasses
I agree with mame, which brings in another question: Was the method name `Class#superclass` appropriate? Perhaps this... sawa (Tsuyoshi Sawada)

11/14/2021

12:42 AM Ruby master Feature #18332: a ? b
`"font-bold" if root?` reads much better than `root? ? "font-bold"`. sawa (Tsuyoshi Sawada)

11/13/2021

12:41 PM Ruby master Feature #18331: Kernel.#Time
And I just found a `Date` counterpart https://bugs.ruby-lang.org/issues/13259, and said to myself, "there are people ... sawa (Tsuyoshi Sawada)

Also available in: Atom