lib/mutant/cli.rb in mutant-0.5.9 vs lib/mutant/cli.rb in mutant-0.5.10
- old
+ new
@@ -64,10 +64,13 @@
# Add a subject selector
#
# @param [#call] selector
#
# @return [self]
+ #
+ # @api private
+ #
def add_subject_selector(selector)
@subject_selectors << selector
self
end
@@ -82,9 +85,15 @@
def add_matcher(matcher)
@matchers << matcher
self
end
+ # Return generated matcher
+ #
+ # @return [Mutant::Matcher]
+ #
+ # @api private
+ #
def matcher
if @matchers.empty?
raise(Error, 'No patterns given')
end