Commit fe7a510
committed
Add require 'set' for Ruby < 3.2 compatibility
Set class became a core class in Ruby 3.2, but earlier versions
(2.7, 3.0, 3.1) require explicit 'require "set"' to use it.
This fixes NameError: uninitialized constant IRB::Set.1 parent 1227226 commit fe7a510
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments