Class: Debtective::Comments::Comment::Todo
- Defined in:
- lib/debtective/comments/comment/todo.rb
Overview
Hold TODO comment information
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#comment_end, #comment_start, #commit, #days, #initialize, #location, #statement_start, #to_h, #type
Constructor Details
This class inherits a constructor from Debtective::Comments::Comment::Base
Instance Method Details
#statement_end ⇒ Integer
12 13 14 15 16 |
# File 'lib/debtective/comments/comment/todo.rb', line 12 def statement_end return super if inline? FindEndOfStatement.new(lines: lines, first_line_index: statement_start).call end |