summaryrefslogtreecommitdiffstats
path: root/lib/rexml
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 22:00:31 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 22:00:31 +0000
commit143f8a86a46b7ec38ad5382b8fe00e80785c1212 (patch)
tree3ebfb81d7fdc03904604b2c7148180d7c6b02cec /lib/rexml
parentaf5d40cde2072fbe74e2d5017cc9fa147c0b7d24 (diff)
downloadruby-143f8a86a46b7ec38ad5382b8fe00e80785c1212.tar.gz
ruby-143f8a86a46b7ec38ad5382b8fe00e80785c1212.tar.xz
ruby-143f8a86a46b7ec38ad5382b8fe00e80785c1212.zip
Merge RDoc changes from HEAD.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/comment.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rexml/comment.rb b/lib/rexml/comment.rb
index 334017cbf..cb91d47f8 100644
--- a/lib/rexml/comment.rb
+++ b/lib/rexml/comment.rb
@@ -2,13 +2,15 @@ require "rexml/child"
module REXML
##
- # Represents an XML comment; that is, text between <!-- ... -->
+ # Represents an XML comment; that is, text between \<!-- ... -->
class Comment < Child
include Comparable
START = "<!--"
STOP = "-->"
- attr_accessor :string # The content text
+ # The content text
+
+ attr_accessor :string
##
# Constructor. The first argument can be one of three types: