diff options
Diffstat (limited to 'lib/rexml/comment.rb')
-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 334017cbfc..cb91d47f8c 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: |