spec
spec copied to clipboard
Add specs for IO#autoclose? and IO#autoclose=
These are the very basic specs, set a value, get a value. The actual behaviour change is not tested, I tried the example of https://ruby-doc.org/3.2.2/IO.html#method-i-autoclose-3D and a couple of variations, and I could not get them to work.