class Nokogiri::XML::Node::SaveOptions

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/nokogiri/xml/node/save_options.rbs

class Nokogiri::XML::Node::SaveOptions
  def initialize: (?Integer options) -> void
end

See the method group entitled Node@Serialization+and+Generating+Output for usage.
Save options for serializing nodes.
##

def initialize(options = 0)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (?Integer options) -> void

This signature was generated using 2 samples from 1 application.

Create a new SaveOptions object with +options+
def initialize(options = 0)
  @options = options
end

def inspect

def inspect
  options = []
  self.class.constants.each do |k|
    options << k.downcase if send(:"#{k.downcase}?")
  end
  super.sub(/>$/, " " + options.join(", ") + ">")
end