---
title: "Discussion on \"Advent of Code 2020: Day 7 (Ruby solution)\" | Hashnode"
description: "Discussion on \"Advent of Code 2020: Day 7 (Ruby solution)\". This time the puzzle is a little bit harder.\nYou get text instructions in not-trivial to parse form, like:\n\nstriped white bags contain 4 drab silver bags.\ndrab silver bags contain no other bags.\npale plum bags contain 1 dark black bag.\nmuted gold bag..."
url: "https://hashnode.com/posts/advent-of-code-2020-day-7-ruby-solution/5fcec8d6ded61e1bd07e92aa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Advent of Code 2020: Day 7 (Ruby solution)](https://rubywizards.com/advent-of-code-2020-day-7-ruby-solution?utm_source=hashnode&utm_medium=feed)

This time the puzzle is a little bit harder. You get text instructions in not-trivial to parse form, like: striped white bags contain 4 drab silver bags. drab silver bags contain no other bags. pale plum bags contain 1 dark black bag. muted gold bag...

Dec 8, 2020 · 2 min read · rubywizards.com  
Updated Apr 13, 2021  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)

## Written by

[Piotr Jurewicz](https://hashnode.com/@pjurewicz)

@pjurewicz · Łódź, Poland

  
[View profile](https://hashnode.com/@pjurewicz)

ruby on rails developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
