Add missing YARD documentation

These comments were the only missing docs flagged by yardstick
This commit is contained in:
John Backus 2016-06-18 15:47:13 -07:00
parent eeb05a7188
commit d069fc164f
No known key found for this signature in database
GPG key ID: 9A91898D0B0B2FBE
2 changed files with 5 additions and 0 deletions

View file

@ -79,6 +79,8 @@ module Mutant
# Define private method
#
# @param [Symbol] name
#
# @return [undefined]
def define_private_method(name, &block)
define_method(name, &block)
private(name)

View file

@ -13,6 +13,9 @@ module Mutant
end
end
# Minimum reporter delay
#
# @return [Float]
def delay
reporters.map(&:delay).min
end