lib/mutant/reporter/cli/printer.rb in mutant-0.5.21 vs lib/mutant/reporter/cli/printer.rb in mutant-0.5.22

- old
+ new

@@ -81,30 +81,22 @@ output.puts(string) end # Test if runner was successful # - # @return [true] - # if runner is successful + # @return [Boolean] # - # @return [false] - # otherwise - # # @api private # def success? object.success? end - # Test for colored output + # Test if output can be colored # - # @return [true] - # if output is colored + # @return [Boolean] # - # @return [false] - # otherwise - # # @api private # def color? tty? end @@ -125,14 +117,10 @@ color.format(message) end # Test for output to tty # - # @return [true] - # if output is a tty - # - # @return [false] - # otherwise + # @return [Boolean] # # @api private # def tty? output.respond_to?(:tty?) && output.tty?