General

Profile

tonytonyjan (Wei-Hang Jian)

Issues

Activity

06/01/2018

06:26 AM Ruby trunk Bug #14795: Should 'net/http' require 'net/http/status' ?
jeremyevans0 (Jeremy Evans) wrote:
> tonytonyjan (Wei-Hang Jian) wrote:
> > IMHO, I would suggest use `Kernel::auto...
tonytonyjan (Wei-Hang Jian)
04:57 AM Ruby trunk Bug #14795: Should 'net/http' require 'net/http/status' ?
IMHO, I would suggest use `Kernel::autoload`, thus we don't need to type `net/http/status` when we want it, and they ... tonytonyjan (Wei-Hang Jian)
06:03 AM Ruby trunk Bug #14793: Hash returned from CGI.parse has [] as default value
FYI: https://github.com/ruby/ruby/blob/fef8339f582b125e1fec5f3d47adbb48f7cede92/lib/cgi/core.rb#L393 tonytonyjan (Wei-Hang Jian)

09/20/2017

01:39 PM Ruby trunk Feature #13924 (Open): Add headings/hints to RubyVM::InstructionSequence#disasm
As the official document mentions, this method will return a String with the human readable instructions. However, it... tonytonyjan (Wei-Hang Jian)

02/21/2015

10:02 AM Ruby trunk Bug #10877 (Closed): String#sub causes segfault
~~~ruby
str = 'abc'
reg = /(?<foo>a)bc/
str =~ reg
$~['foo'].sub 'a', ''
$~['foo']
~~~
~~~
tmp.rb:5: [BUG] ...
tonytonyjan (Wei-Hang Jian)

Also available in: Atom