Remove CommandHelpers#no_color, as it is implemented in Text

This commit is contained in:
Rob Gleeson 2011-05-06 18:51:23 +01:00
parent 2744f866f7
commit 25b7a26a77
1 changed files with 0 additions and 8 deletions

View File

@ -58,14 +58,6 @@ class Pry
text.split.drop(1).join(' ')
end
# turn off color for duration of block
def no_color(&block)
old_color_state = Pry.color
Pry.color = false
yield
ensure
Pry.color = old_color_state
end
def code_and_code_type_for(meth)
case code_type = code_type_for(meth)