diff options
Diffstat (limited to 'lib/rdoc/comment.rb')
-rw-r--r-- | lib/rdoc/comment.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rdoc/comment.rb b/lib/rdoc/comment.rb index 134f6440a0..0f643c45b9 100644 --- a/lib/rdoc/comment.rb +++ b/lib/rdoc/comment.rb @@ -34,6 +34,11 @@ class RDoc::Comment attr_reader :text ## + # Alias for text + + alias to_s text + + ## # Overrides the content returned by #parse. Use when there is no #text # source for this comment |