General

Profile

ccmywish (Aoran Zeng)

  • Login: ccmywish
  • Registered on: 11/12/2020
  • Last sign in: 02/20/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 3 5

Activity

02/12/2026

11:49 AM Ruby Feature #21858: `Kernel#Hash` considers `to_h` too
> as @Dan0042 (Daniel DeLorme) pointed out for example
Just to clarify — maybe I missed something, but it seems there might be a slight misunderstanding. In his comment, Daniel mainly provided historical context about when `to_h` was ...
ccmywish (Aoran Zeng)

02/02/2026

11:59 AM Ruby Feature #21858: `Kernel#Hash` considers `to_h` too
https://github.com/ruby/ruby/pull/16036 ccmywish (Aoran Zeng)
11:51 AM Ruby Feature #21858 (Open): `Kernel#Hash` considers `to_h` too
1. `Kernel#Integer` uses `to_int` first and `to_i` second
2. `Kernel#Array` uses `to_ary` first and `to_a` second
3. `Kernel#Hash` only uses `to_hash`
I don't quite understand why there is a need for differential treatment here.
...
ccmywish (Aoran Zeng)

06/21/2024

02:27 AM Ruby Revision 185a6c99 (git): [rubygems/rubygems] Update contents of gem.bat on Windows
(https://github.com/rubygems/rubygems/pull/6483)
https://github.com/rubygems/rubygems/commit/41d8cffd2e
Co-Authored-By: MSP-Greg <Greg.mpls@gmail.com>
ccmywish (Aoran Zeng)

05/24/2023

11:10 AM Ruby Feature #19690 (Open): Add terminal colorizing gem to stdlib
Recently the new version of `tracer` gem caught my eye. But I've noticed an anti-DRY pattern.
I've noticed that many libs, CLI tools implement their own logic of color support on the terminal.
These libs/CLI tools don't explicitly ...
ccmywish (Aoran Zeng)
10:47 AM Ruby Feature #19688 (Closed): Add indentable block comment syntax
Ruby's default block comment is using `=begin` and `=end`
```ruby
=begin
Some block comments
=end
```
However, we must place them at the top of the line, thus we can't indent them, for example:
```ruby
class A
class B
c...
ccmywish (Aoran Zeng)
09:34 AM Ruby Bug #18738: IRB can't recognize heredoc after words
This has been fixed. Please close it. ccmywish (Aoran Zeng)

02/06/2023

05:20 AM Ruby Revision b3fd1222 (git): [ruby/English] Replace HTML5 deprecated tag <tt> with <code>
https://github.com/ruby/English/commit/3712fd6752 ccmywish (Aoran Zeng)

04/19/2022

02:51 AM Ruby Bug #18741: Slicing an Array using index out of range inconsistent return type
HI @zverok, I think your proposition is a little different from what's reported here.
```ruby
array = [:peanut, :butter, :and, :jelly]
# 4 is out of range, but -> []
array[4,0]
# 5 is out of range, but -> nil
array[5,0]
```...
ccmywish (Aoran Zeng)

04/18/2022

12:00 AM Ruby Bug #18738: IRB can't recognize heredoc after words
kaiquekandykoga (Kaíque Koga) wrote in #note-1:
> I think it can be interesting to open an issue at https://github.com/ruby/irb.
Now here: https://github.com/ruby/irb/issues/361
ccmywish (Aoran Zeng)

Also available in: Atom