Class: IssueBeaver::Models::TodoComments
- Inherits:
-
Object
- Object
- IssueBeaver::Models::TodoComments
- Defined in:
- lib/issue_beaver/models/todo_comments.rb
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(root_dir, files, head) ⇒ TodoComments
constructor
A new instance of TodoComments.
Constructor Details
#initialize(root_dir, files, head) ⇒ TodoComments
Returns a new instance of TodoComments.
12 13 14 15 16 |
# File 'lib/issue_beaver/models/todo_comments.rb', line 12 def initialize(root_dir, files, head) @root_dir = root_dir @files = files @head = head end |
Instance Method Details
#all ⇒ Object
19 20 21 |
# File 'lib/issue_beaver/models/todo_comments.rb', line 19 def all @todos ||= enum_scanned_files(@files, @head).memoizing.lazy end |