Class: RDoc::CodeObject
- Inherits:
-
Object
- Object
- RDoc::CodeObject
- Defined in:
- lib/extensions.rb
Instance Method Summary collapse
Instance Method Details
#each_comment(&proc) ⇒ Object
16 17 18 |
# File 'lib/extensions.rb', line 16 def each_comment(&proc) proc.call(self.comment) unless self.comment.nil? || self.comment.empty? end |