From abe1214b3dd57b3a24d722ba592146db8eaabd40 Mon Sep 17 00:00:00 2001 From: ser Date: Sun, 16 May 2004 19:08:03 +0000 Subject: Cross-ported the REXML changes (3.0.8) from the development branch to the stable branch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/parsers/baseparser.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rexml/parsers') diff --git a/lib/rexml/parsers/baseparser.rb b/lib/rexml/parsers/baseparser.rb index 92033a9c2b..fbb1ec06a8 100644 --- a/lib/rexml/parsers/baseparser.rb +++ b/lib/rexml/parsers/baseparser.rb @@ -100,6 +100,8 @@ module REXML self.stream = source end + attr_reader :source + def stream=( source ) if source.kind_of? String @source = Source.new(source) -- cgit v1.2.3