Class: REXML::Output
- Includes:
- Encoding
- Defined in:
- lib/extensions/rexml/rexml/output.rb
Constant Summary
Constants included from Encoding
Encoding::UNILE, Encoding::UTF_16, Encoding::UTF_8
Instance Attribute Summary collapse
-
#encoding ⇒ Object
readonly
Returns the value of attribute encoding.
Instance Method Summary collapse
- #<<(content) ⇒ Object
-
#initialize(real_IO, encd = "iso-8859-1") ⇒ Output
constructor
A new instance of Output.
- #to_s ⇒ Object
Methods included from Encoding
apply, #check_encoding, #decode_ascii, #decode_cp1252, #decode_iconv, #decode_unile, #decode_utf16, #decode_utf8, #encode_ascii, #encode_cp1252, #encode_iconv, #encode_unile, #encode_utf16, #encode_utf8, encoding_method, #from_iso_8859_15, register, #to_iso_8859_15
Constructor Details
Instance Attribute Details
#encoding ⇒ Object (readonly)
Returns the value of attribute encoding.
7 8 9 |
# File 'lib/extensions/rexml/rexml/output.rb', line 7 def encoding @encoding end |