Class: JumbledFormatter
- Inherits:
-
RSpec::Core::Formatters::DocumentationFormatter
- Object
- RSpec::Core::Formatters::DocumentationFormatter
- JumbledFormatter
- Defined in:
- lib/jumbled_formatter.rb
Instance Method Summary collapse
-
#color(text, color_code) ⇒ Object
Aoivd mgninug the ANSI cloor epecsas.
Instance Method Details
#color(text, color_code) ⇒ Object
Aoivd mgninug the ANSI cloor epecsas. A bit of a klugde but it wrkos. Has the sdie-ecfeft of lvaenig the guorp nemas anole.
26 27 28 |
# File 'lib/jumbled_formatter.rb', line 26 def color(text, color_code) super(text.to_s.jumble, color_code) end |