You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require'ox'io=StringIO.newb=Ox::Builder.io(io,indent: 2)# Here I get an exception: `io': expected an IO that has a fileno. (IOError)10.timesdob.element('node')dob.text('value')endendb.closeio.to_s
The text was updated successfully, but these errors were encountered:
It would be too much of a change to support StringIO with little gain. Did you know you can create a new Builder without and io and it will build a string? Line 1472 of the test.rb file is an example of that.
Hello! It possible use
StringIO
inOx::Builder
?The text was updated successfully, but these errors were encountered: