General

Profile

StefanPochmann (Stefan Pochmann)

Issues

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

Activity

12/08/2017

10:12 AM Ruby Bug #14160 (Closed): JSON#generate documentation wrong/misleading
https://docs.ruby-lang.org/en/trunk/JSON.html#module-JSON-label-Generating+JSON
That says `JSON.generate` only allows "objects or arrays", that `to_json` allows more, and uses `1.to_json` as an example for that. But I just tried `JSON.g...
StefanPochmann (Stefan Pochmann)

12/01/2017

11:45 PM Ruby Misc #14147 (Closed): Array#sample documentation is unclear about order
Does `Array#sample` only guarantee a random subset, or also random order? It's not clear. I think the current reference implementation does produce random order, but the documentation doesn't guarantee it, so I can't rely on it. If rando... StefanPochmann (Stefan Pochmann)

Also available in: Atom