General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 09/04/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 55 141 196

Like

Activity

09/22/2023

07:59 AM Ruby master Feature #19744: Namespace on read
It may be useful to allow a code block if that does not cause a trouble.
```rb
require "my_module"
NameSpace.new do...
sawa (Tsuyoshi Sawada)

09/18/2023

01:10 PM Ruby master Feature #19889 (Feedback): Let `Kernel.#require` search for files relative to the current working directory for non ./, ../ relative paths
My understanding is that `./` and `../` in the given path argument are interpreted relative to:
(1)
* The current...
sawa (Tsuyoshi Sawada)

09/15/2023

08:11 AM Ruby master Feature #19884: Make Safe Navigation Operator work on classes
Currently, you can do `ActiveRecord::Base.some_method rescue nil`
Using `&.` for rescuing an error in addition to th...
sawa (Tsuyoshi Sawada)

09/14/2023

09:49 AM Ruby master Feature #19839: Need a method to check if two ranges overlap
I think the analogue for `range1.overlap?(range2)` in mathematics is `interval1 ∩ interval2 ≠ ∅`, which does not hold... sawa (Tsuyoshi Sawada)

09/13/2023

12:38 PM Ruby master Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-16:
> Why do you want to know the location of the autoload call after it is actua...
sawa (Tsuyoshi Sawada)
05:55 AM Ruby master Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-14:
> As I said, you can use it safely in conjunction with `Module.autoload?`.
>...
sawa (Tsuyoshi Sawada)
04:07 AM Ruby master Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-11:
> 2. If we want to identify where a constant is set as autoload, we can use th...
sawa (Tsuyoshi Sawada)

09/04/2023

01:30 AM Ruby master Feature #19075: Binary searching for the last element
Dan0042 wrote:
> I find `target: :last` to be confusing. If I suddenly read that in code I wouldn't be able to guess ...
sawa (Tsuyoshi Sawada)

09/02/2023

01:45 AM Ruby master Feature #19859: Start & Finish, Begin & End
>In English "start" is paired with "finish" and "begin" is paired with "end".
I do not think that holds. The combina...
sawa (Tsuyoshi Sawada)

08/06/2023

04:39 AM Ruby master Feature #19832 (Rejected): Method#destructive?, UnboundMethod#destructive?
I propose to add `destructive?` property to `Method` and `UnboundMethod` instances, which shall behave like:
```ru...
sawa (Tsuyoshi Sawada)

Also available in: Atom