method
read
v1_8_7_72 -
Show latest stable
- Class:
REXML::IOSource
read()public
No documentation available.
# File lib/rexml/source.rb, line 190
def read
begin
str = @source.readline(@line_break)
str = decode(str) if @to_utf and str
@buffer << str
rescue Exception, NameError
@source = nil
end
end