Lines Matching defs:comment
31 # Our comment
33 attr_reader :comment
109 @comment = ''
135 # Replaces our comment with +comment+, unless it is empty.
137 def comment=(comment)
138 @comment = case comment
140 when RDoc::Markup::Document then comment
141 when RDoc::Comment then comment.normalize
143 if comment and not comment.empty? then
144 normalize_comment comment
146 # HACK correct fix is to have #initialize create @comment
148 if String === @comment and
149 Object.const_defined? :Encoding and @comment.empty? then
150 @comment.force_encoding comment.encoding
152 @comment
185 # Does this object have a comment with content or is #received_nodoc true?
188 @received_nodoc or !@comment.empty?