config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/ruby/1.8/rexml/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/ruby/1.8/rexml/output.rb

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 = encd == UTF_8 ? false : true
		end

		def <<( content )
			@output << (@to_utf ? self.encode(content) : content)
		end

    def to_s
      "Output[#{encoding}]"
    end
	end
end

Man Man