Class: REXML::Output
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
Encoding
|
|
Inherits: | Object |
Defined in: | lib/rexml/output.rb |
Class Method Summary
- .new(real_IO, encd = "iso-8859-1") ⇒ Output constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(real_IO, encd = "iso-8859-1") ⇒ Output
Instance Attribute Details
#encoding (readonly)
[ GitHub ]# File 'lib/rexml/output.rb', line 7
attr_reader :encoding
Instance Method Details
#<<(content)
[ GitHub ]# File 'lib/rexml/output.rb', line 21
def <<( content ) @output << (@to_utf ? self.encode(content) : content) end
#to_s
[ GitHub ]# File 'lib/rexml/output.rb', line 25
def to_s "Output[#{encoding}]" end