General

Profile

sos4nt (Stefan Schüßler)

Issues

Activity

02/15/2019

11:46 AM Ruby trunk Feature #15574: Prohibit to pass a block on super() implicitly
sawa (Tsuyoshi Sawada) wrote:
> [...] it is inconsistent that you want to take care of the arguments but not the blo...
sos4nt (Stefan Schüßler)
11:02 AM Ruby trunk Feature #15574: Prohibit to pass a block on super() implicitly
sawa (Tsuyoshi Sawada) wrote:
> In such case, i.e., when you don't want to take the responsibility of managing the a...
sos4nt (Stefan Schüßler)
10:20 AM Ruby trunk Feature #15574: Prohibit to pass a block on super() implicitly
I prefer the current behavior. Passing along a block is much more common than removing a block.
Let's say I have a...
sos4nt (Stefan Schüßler)
10:39 AM Ruby trunk Feature #15606: Precedence of -@ and +@
nobu (Nobuyoshi Nakada) wrote:
> Do you expect `i = -1; -i.abs` to return `+1`?
Yes, indeed. I'd expect `<somethi...
sos4nt (Stefan Schüßler)
09:24 AM Ruby trunk Feature #15606 (Feedback): Precedence of -@ and +@
`-@` and `+@` seem to have issues with method chaining:
```ruby
i = 5
-i.negative?
# NoMethodError (undefined...
sos4nt (Stefan Schüßler)

01/07/2019

10:26 AM Ruby trunk Misc #15514 (Open): Add documentation for implicit array decomposition
The documentation for [Array Decomposition](http://ruby-doc.org/core/doc/syntax/assignment_rdoc.html#label-Array+Deco... sos4nt (Stefan Schüßler)

12/21/2018

11:40 AM Ruby trunk Feature #15446: Add a method `String#each_match` to the Ruby core
Regarding the name – I'd prefer `String#each_match`.
And it should accept an optional block which yields the matc...
sos4nt (Stefan Schüßler)

05/23/2018

10:38 AM Ruby trunk Feature #14783: String#chars_at / String#bytes_at
Hanmac (Hans Mackowiak) wrote:
> why does it return a new string instead of array of strings?
Because `String#[]`...
sos4nt (Stefan Schüßler)
10:23 AM Ruby trunk Feature #14783 (Open): String#chars_at / String#bytes_at
I just wanted to extract characters at certain indices from a string and noticed that there's no `values_at` counterp... sos4nt (Stefan Schüßler)

05/17/2018

08:41 AM Ruby trunk Misc #14768 (Open): Add documentation for || and &&
The Ruby documentation doesn't seem to cover `||` and `&&`.
The only references I could find are:
http://ruby-d...
sos4nt (Stefan Schüßler)

Also available in: Atom