Commit 948d922
committed
♻️ Explicitly "throw :eof" for EOF in get_response
This feels a lot more self-documenting than returning nil then breaking
when nil is returned. Also, it lets me refactor the return values for
the get_response_line/get_response_literal methods, or throw from even
deeper in the stack.1 parent a1567f8 commit 948d922
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2222 | 2222 | | |
2223 | 2223 | | |
2224 | 2224 | | |
2225 | | - | |
2226 | | - | |
2227 | | - | |
2228 | | - | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
2229 | 2231 | | |
2230 | 2232 | | |
2231 | 2233 | | |
2232 | 2234 | | |
2233 | 2235 | | |
2234 | 2236 | | |
2235 | 2237 | | |
2236 | | - | |
| 2238 | + | |
2237 | 2239 | | |
2238 | 2240 | | |
2239 | 2241 | | |
2240 | 2242 | | |
2241 | 2243 | | |
2242 | | - | |
| 2244 | + | |
2243 | 2245 | | |
2244 | 2246 | | |
2245 | 2247 | | |
| |||
0 commit comments