Loading…
2+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes file io basics, json yaml basics.
Suggested path
Topics follow a teaching order. Each answer ends with a clear Next question control so you can move forward without hunting the list.
Ruby I/O and serialization questions test safe resource handling at real system boundaries. This focused module covers whole-file helpers versus streaming, File.open block cleanup, access modes and atomic replacement, plus interoperable JSON and safe YAML parsing. Array, Hash, and Enumerable material remains in the canonical language and iterator modules instead of being duplicated here.
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–2 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–2 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q2.