summaryrefslogtreecommitdiff
path: root/lib/rdoc/comment.rb
diff options
context:
space:
mode:
authoraycabta <[email protected]>2019-11-27 11:58:38 +0900
committeraycabta <[email protected]>2019-11-28 08:19:05 +0900
commit2d0a1a1869e601dc0d50a86a89fe98edcbd24f09 (patch)
tree6b856f051311fb18f1db133e19bec2ee8af68dbc /lib/rdoc/comment.rb
parentf9debf343788a6460e1e67bd7efc470d73e69f21 (diff)
Fix ghost method line no
Diffstat (limited to 'lib/rdoc/comment.rb')
-rw-r--r--lib/rdoc/comment.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rdoc/comment.rb b/lib/rdoc/comment.rb
index 35cacdd087..9e90999eac 100644
--- a/lib/rdoc/comment.rb
+++ b/lib/rdoc/comment.rb
@@ -24,6 +24,11 @@ class RDoc::Comment
attr_accessor :location
##
+ # Line where this Comment was written
+
+ attr_accessor :line
+
+ ##
# For duck-typing when merging classes at load time
alias file location # :nodoc: