1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

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

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