diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 18:05:50 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 18:05:50 +0000 |
commit | 635349fb86b3058d7e3e083c7270805681628b5c (patch) | |
tree | 199813273b1cd9a90b40e3dc797303d0e5f8c67b /lib/rexml | |
parent | cbe931c68c126022859f097a14e38c621b3a689e (diff) | |
download | ruby-635349fb86b3058d7e3e083c7270805681628b5c.tar.gz ruby-635349fb86b3058d7e3e083c7270805681628b5c.tar.xz ruby-635349fb86b3058d7e3e083c7270805681628b5c.zip |
Documentation cleanup.
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r-- | lib/rexml/comment.rb | 6 |
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: |