Fix YARD coverage
This commit is contained in:
parent
97530771bf
commit
8cbb5e288a
7 changed files with 27 additions and 1 deletions
|
@ -32,6 +32,8 @@ module Mutant
|
|||
#
|
||||
# @return [Message]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def self.new(_type, _payload = Undefined)
|
||||
super
|
||||
end
|
||||
|
@ -48,6 +50,8 @@ module Mutant
|
|||
#
|
||||
# @return [Object]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def call(type)
|
||||
other.call(Message.new(type, actor.sender))
|
||||
message = actor.receiver.call
|
||||
|
|
|
@ -39,6 +39,8 @@ module Mutant
|
|||
#
|
||||
# @return [Binding]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def bind(other)
|
||||
Binding.new(self, other)
|
||||
end
|
||||
|
|
|
@ -219,7 +219,7 @@ module Mutant
|
|||
#
|
||||
# @return [Enumerable<Fixnum>]
|
||||
#
|
||||
# @api pirvate
|
||||
# @api private
|
||||
#
|
||||
def children_indices(range)
|
||||
range_end = range.end
|
||||
|
|
|
@ -28,6 +28,8 @@ module Mutant
|
|||
#
|
||||
# @param [Env] env
|
||||
#
|
||||
# @return [self]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def start(env)
|
||||
|
|
|
@ -159,6 +159,8 @@ module Mutant
|
|||
#
|
||||
# @return [undefined]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def job_status
|
||||
return if active_jobs.empty?
|
||||
info('Active Jobs:')
|
||||
|
@ -545,6 +547,14 @@ module Mutant
|
|||
puts(object.output)
|
||||
end
|
||||
|
||||
# Test if test result is successful
|
||||
#
|
||||
# Only used to determine color.
|
||||
#
|
||||
# @return [false]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def success?
|
||||
false
|
||||
end
|
||||
|
|
|
@ -96,6 +96,10 @@ module Mutant
|
|||
#
|
||||
# @param [Actor::Sender] sender
|
||||
#
|
||||
# @return [undefined]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def handle_status(sender)
|
||||
sender.call(Actor::Message.new(:status, @scheduler.status))
|
||||
end
|
||||
|
@ -106,6 +110,8 @@ module Mutant
|
|||
#
|
||||
# @return [undefined]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def handle_result(job_result)
|
||||
return if @stopping
|
||||
@scheduler.job_result(job_result)
|
||||
|
|
|
@ -43,6 +43,8 @@ module Mutant
|
|||
#
|
||||
# @return [Boolean]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def handle(message)
|
||||
type, payload = message.type, message.payload
|
||||
case message.type
|
||||
|
|
Loading…
Add table
Reference in a new issue