Programming Ruby 3.2 (5th Edition): B4.0 page 581, is that no string is passed

@noelrappin

page 581, in StringIO, second paragraph, last line : strange is that

[or] the default external encoding is that no string is passed.
                            -----> ^^^^^^^

I would expect : [or] from the default external encoding if no string is passed.

Change to “StringIO objects take their encoding from the string you pass in—if no string is passed the default external encoding is used.”