File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class Detector
5
5
# singleton class to access it
6
6
# See also: `PatternChecker` for shared instance methods
7
7
module BulkChecker
8
- # This method is intended to be used for inspecting detections during development.
8
+ # check_all_matches is intended to be used for inspecting detections during development.
9
9
# Assumptions include
10
10
# - the Class including this module implements a `detections` method (either via `attr_reader` or as a method)
11
11
# that is only populated for Terms in which it has made a detection
@@ -29,6 +29,9 @@ def check_all_matches(output: false)
29
29
matches if output
30
30
end
31
31
32
+ # log_summary formats and logs information collected in check_all_matches
33
+ #
34
+ # @param matches [array]. matches should be an array of [phrase, detections]
32
35
def log_summary ( matches )
33
36
Rails . logger . info ( ap ( matches ) )
34
37
You can’t perform that action at this time.
0 commit comments