Libraries
»
irs
(1.0)
»
Index
»
String
»
#no_colors
Method: String#no_colors
Defined in:
lib/utils.rb
#
no_colors
⇒
Object
29 30 31
# File 'lib/utils.rb', line 29
def
no_colors
self
.
gsub
(
/\e\[\d+m/
,
""
)
end