Class: REXML::IOSource
- Inherits:
-
Object
- Object
- REXML::IOSource
- Defined in:
- lib/chatroid/adapter/xmpp.rb
Overview
Support multybyte characters.
Instance Method Summary collapse
Instance Method Details
#read ⇒ Object
9 10 11 12 13 |
# File 'lib/chatroid/adapter/xmpp.rb', line 9 def read @buffer << readline.force_encoding("utf-8") rescue Exception, NameError @source = nil end |