Fix YARD docs

This commit is contained in:
Markus Schirp 2014-03-30 15:08:22 +00:00
parent 36bfbfec0d
commit 777ac825de
2 changed files with 15 additions and 0 deletions

View file

@ -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')

View file

@ -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)