X7ROOT File Manager
Current Path:
/opt/alt/ruby24/lib64/ruby/2.4.0/rexml
opt
/
alt
/
ruby24
/
lib64
/
ruby
/
2.4.0
/
rexml
/
??
..
??
attlistdecl.rb
(1.92 KB)
??
attribute.rb
(5.53 KB)
??
cdata.rb
(1.57 KB)
??
child.rb
(2.66 KB)
??
comment.rb
(2.1 KB)
??
doctype.rb
(6.61 KB)
??
document.rb
(9.51 KB)
??
dtd
??
element.rb
(44.37 KB)
??
encoding.rb
(1.16 KB)
??
entity.rb
(5.56 KB)
??
formatters
??
functions.rb
(11.9 KB)
??
instruction.rb
(2.04 KB)
??
light
??
namespace.rb
(1.12 KB)
??
node.rb
(2.16 KB)
??
output.rb
(550 B)
??
parent.rb
(4.27 KB)
??
parseexception.rb
(1.25 KB)
??
parsers
??
quickpath.rb
(9.12 KB)
??
rexml.rb
(1.32 KB)
??
sax2listener.rb
(3.61 KB)
??
security.rb
(824 B)
??
source.rb
(7.64 KB)
??
streamlistener.rb
(3.84 KB)
??
syncenumerator.rb
(716 B)
??
text.rb
(13.77 KB)
??
undefinednamespaceexception.rb
(241 B)
??
validation
??
xmldecl.rb
(2.71 KB)
??
xmltokens.rb
(2.32 KB)
??
xpath.rb
(3.34 KB)
??
xpath_parser.rb
(20.44 KB)
Editing: output.rb
# frozen_string_literal: false require 'rexml/encoding' module REXML class Output include Encoding attr_reader :encoding def initialize real_IO, encd="iso-8859-1" @output = real_IO self.encoding = encd @to_utf = encoding != 'UTF-8' if encoding == "UTF-16" @output << "\ufeff".encode("UTF-16BE") self.encoding = "UTF-16BE" end end def <<( content ) @output << (@to_utf ? self.encode(content) : content) end def to_s "Output[#{encoding}]" end end end
Upload File
Create Folder