We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What problem are you trying to solve?
SaveOptions would be more usable if its inspect method showed the options that were set, like ParseOptions does.
inspect
Please show your code!
Nokogiri::XML::ParseOptions.new(Nokogiri::XML::ParseOptions::DEFAULT_HTML) # => #<Nokogiri::XML::ParseOptions:0x35c66ad @options=4196449 default_xml, default_html, recover, noerror, big_lines, default_schema, nonet, nowarning> # but Nokogiri::XML::Node::SaveOptions.new(Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML).inspect # => "#<Nokogiri::XML::Node::SaveOptions:0x77a14911 @options=18>"
The text was updated successfully, but these errors were encountered:
feat: SaveOptions#inspect shows the names of the set options
8934b5c
Closes #2767
Successfully merging a pull request may close this issue.
What problem are you trying to solve?
SaveOptions would be more usable if its
inspect
method showed the options that were set, like ParseOptions does.Please show your code!
The text was updated successfully, but these errors were encountered: