Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tom-lord
11y ago
0 comments
Save
Share
f << JSON.dump(showings)
avoids adding any new lines (not that it really matters in the case of JSON)
0 comments
1 comments · 1 top-level
top
newest
oldest
cheald
11y ago
Doh, yes. `print` rather than `puts` is also acceptable.
j
/
k
navigate · click thread line to collapse