diff options
author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-16 15:17:31 +0000 |
---|---|---|
committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-16 15:17:31 +0000 |
commit | 8fd29e2019077205a9997308cf3bc05202a83ad1 (patch) | |
tree | 5add8b63369553228f3348398c7681f22c58cbec /lib/rexml/parsers/baseparser.rb | |
parent | ac1d9e7c2dfceb06a9b6ee22e2fc0593c9ddce29 (diff) | |
download | ruby-8fd29e2019077205a9997308cf3bc05202a83ad1.tar.gz |
------------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/parsers/baseparser.rb')
-rw-r--r-- | lib/rexml/parsers/baseparser.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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) |