Mark Text#no_color as returning void (value of no interest)

This commit is contained in:
Rob Gleeson 2011-05-06 18:52:45 +01:00
parent 25b7a26a77
commit b23924186c
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class Pry
# Executes _block_ with _Pry.color_ set to false.
#
# @param [Proc]
# @return [void]
def no_color &block
boolean = Pry.color
Pry.color = false