LibXML::Writer
54 55 56 57 58 59
# File 'lib/peanuts/xml.rb', line 54 def self.new(*args, &block) cls = self == Writer ? XML.default::Writer : self obj = cls.allocate obj.send(:initialize, *args, &block) obj end