General

Profile

sos4nt (Stefan Schüßler)

Issues

Activity

05/24/2019

09:08 AM Ruby master Bug #15872 (Rejected): CSV.parse omits close call when block is given – intended or bug?
The current implementation of `CSV.parse` doesn't call `close` when a block is given:
```ruby
def self.parse(*args,...
sos4nt (Stefan Schüßler)

05/15/2019

08:26 AM Ruby master Feature #15848: Silence warning when conditional assignments are wrapped in parentheses
nobu (Nobuyoshi Nakada) wrote:
> No, it doesn't.
> That warning is only when the RHS is a literal, but a method cal...
sos4nt (Stefan Schüßler)

05/14/2019

10:35 AM Ruby master Feature #15848: Silence warning when conditional assignments are wrapped in parentheses
shevegen (Robert A. Heiler) wrote:
> I can't think of a simple way to controls warnings though :( - I guess if we ma...
sos4nt (Stefan Schüßler)
09:08 AM Ruby master Feature #15848: Silence warning when conditional assignments are wrapped in parentheses
sawa (Tsuyoshi Sawada) wrote:
> Why do the parentheses indicate that assignment is intended, and not comparison?
...
sos4nt (Stefan Schüßler)
07:51 AM Ruby master Feature #15848 (Rejected): Silence warning when conditional assignments are wrapped in parentheses
Sometime it's convenient to have an assignment in an `if`-condition. The Ruby documentation even contains an example ... sos4nt (Stefan Schüßler)

03/22/2019

07:22 PM Ruby master Misc #15723: Reconsider numbered parameters
@matz wrote:
> I am not fully satisfied with the beauty of the code with numbered parameters, so I call it a comprom...
sos4nt (Stefan Schüßler)
01:11 PM Ruby master Misc #15723 (Feedback): Reconsider numbered parameters
I just learned that *numbered parameters* have been merged into Ruby 2.7.0dev.
For readers not familiar with this ...
sos4nt (Stefan Schüßler)
01:11 PM Ruby master Feature #4475: default variable name for parameter
Since this ticket is closed, I've opened a new one to express my concerns:
https://bugs.ruby-lang.org/issues/15723
sos4nt (Stefan Schüßler)

02/18/2019

11:44 AM Ruby master Revision e19e5d24 (git): Fix return value name in docs for Array#union
Throughout the docs, `new_ary` is used to indicate a new array, whereas `ary` refers to the receiver. sos4nt (Stefan Schüßler)

02/15/2019

11:46 AM Ruby master 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)

Also available in: Atom