Fix YARD docs
This commit is contained in:
parent
36bfbfec0d
commit
777ac825de
2 changed files with 15 additions and 0 deletions
|
@ -66,6 +66,9 @@ module Mutant
|
|||
# @param [#call] selector
|
||||
#
|
||||
# @return [self]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def add_subject_selector(selector)
|
||||
@subject_selectors << selector
|
||||
self
|
||||
|
@ -84,6 +87,12 @@ module Mutant
|
|||
self
|
||||
end
|
||||
|
||||
# Return generated matcher
|
||||
#
|
||||
# @return [Mutant::Matcher]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def matcher
|
||||
if @matchers.empty?
|
||||
raise(Error, 'No patterns given')
|
||||
|
|
|
@ -80,6 +80,12 @@ module Mutant
|
|||
#
|
||||
# @param [String] input
|
||||
#
|
||||
# @return [Classifier]
|
||||
# if classifier can be found
|
||||
#
|
||||
# @return [nil]
|
||||
# otherwise
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def self.find(input)
|
||||
|
|
Loading…
Reference in a new issue