3 ms·
f << JSON.dump(showings) avoids adding any new lines (not that it really matters in the case of JSON)
by tom-lord 12y ago
f << JSON.dump(showings)
avoids adding any new lines (not that it really matters in the case of JSON)
- cheald 12y agoDoh, yes. `print` rather than `puts` is also acceptable.