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:
parent
25b7a26a77
commit
b23924186c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue