matz (Yukihiro Matsumoto)

  • Email:
  • Registered on: 05/09/2008
  • Last connection: 09/03/2019





03:44 AM Ruby master Feature #16141 (Closed): Change in the array[x,y] notation.
The `y` in `ary[x, y]` means the length of resulting subarray, not an index. There's no subarray of negative length.
matz (Yukihiro Matsumoto)


07:02 AM Ruby master Feature #15976 (Feedback): Add Array#overlap? for whether the intersection of 2 arrays is non empty?
I don't think `overlap?` is a good name. Besides that, `Array#overlap?` creates an internal hash table anyway, so th... matz (Yukihiro Matsumoto)
06:50 AM Ruby master Bug #15244 (Feedback): Method #extname return empty string if filename is dot ('.')
`.git` is not an extension but a filename. `.a.jpg` has `.jpg` extension. I wonder how we can parse `..jpg`. It's und... matz (Yukihiro Matsumoto)
06:39 AM Ruby master Feature #10123 (Rejected): Named capture groups don't set local vars when matched using ~
Implicit assignment from named capture is kind of confusing. Unless strongly persuaded, I am not going to enhance the... matz (Yukihiro Matsumoto)
06:28 AM Ruby master Feature #15975: Add Array#pluck
I am not positive for `Array#pluck`. ActiveSupport may add the method.
matz (Yukihiro Matsumoto)
06:18 AM Ruby master Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
I prefer `caller_location(n=1)` or `direct_caller`. For former, it might be confusing with `caller_locations`. The la... matz (Yukihiro Matsumoto)
06:17 AM Ruby master Bug #7768: Inherited Array class missing
`Array#uniq` should be fixed.
matz (Yukihiro Matsumoto)
05:28 AM Ruby master Feature #15123: Enumerable#compact proposal
I don't see enough demand for `compact` where we have `reject(&:nil?)`. Any additional use-case?
matz (Yukihiro Matsumoto)


08:01 AM Ruby master Feature #16122 (Feedback): Struct::Value: simple immutable value object
The typical solution is ``. This doesn't require any enhancement. The other option is `Struct.n... matz (Yukihiro Matsumoto)
07:09 AM Ruby master Feature #15815: Add option to raise NoMethodError for OpenStruct
I like the OP's idea. It's up to @marcandre
matz (Yukihiro Matsumoto)

Also available in: Atom