Class: IssueBeaver::Models::TodoComments

Inherits:
Object
  • Object
show all
Defined in:
lib/issue_beaver/models/todo_comments.rb

Instance Method Summary collapse

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

#allObject



19
20
21
# File 'lib/issue_beaver/models/todo_comments.rb', line 19

def all
  @todos ||= enum_scanned_files(@files, @head).memoizing.lazy
end