@ DocumentNode (location: (1:0)-(6:0))
└── children: (2 items)
    ├── @ ERBCaseNode (location: (1:0)-(5:9))
    │   ├── tag_opening: "<%" (location: (1:0)-(1:2))
    │   ├── content: " case variable " (location: (1:2)-(1:17))
    │   ├── tag_closing: "%>" (location: (1:17)-(1:19))
    │   ├── children: (1 item)
    │   │   └── @ HTMLTextNode (location: (1:19)-(3:0))
    │   │       └── content: "\n  before when\n"
    │   │
    │   ├── conditions: (1 item)
    │   │   └── @ ERBWhenNode (location: (3:0)-(3:17))
    │   │       ├── tag_opening: "<%" (location: (3:0)-(3:2))
    │   │       ├── content: " when String " (location: (3:2)-(3:15))
    │   │       ├── tag_closing: "%>" (location: (3:15)-(3:17))
    │   │       └── statements: (1 item)
    │   │           └── @ HTMLTextNode (location: (3:17)-(5:0))
    │   │               └── content: "\n  String\n"
    │   │
    │   │
    │   ├── else_clause: ∅
    │   └── end_node:
    │       └── @ ERBEndNode (location: (5:0)-(5:9))
    │           ├── tag_opening: "<%" (location: (5:0)-(5:2))
    │           ├── content: " end " (location: (5:2)-(5:7))
    │           └── tag_closing: "%>" (location: (5:7)-(5:9))
    │
    │
    └── @ HTMLTextNode (location: (5:9)-(6:0))
        └── content: "\n"