method
readline
v1_9_3_125 -
Show latest stable
- Class:
REXML::IOSource
readline()private
No documentation available.
# File lib/rexml/source.rb, line 255
def readline
str = @source.readline(@line_break)
return nil if str.nil?
if @to_utf
decode(str)
else
str.force_encoding(::Encoding::UTF_8) if @force_utf8
str
end
end