method
new
v2_1_10 -
Show latest stable
- Class:
PrideIO
new(io)public
No documentation available.
# File lib/minitest/pride.rb, line 23
def initialize io # :nodoc:
@io = io
# stolen from /System/Library/Perl/5.10.0/Term/ANSIColor.pm
# also reference http://en.wikipedia.org/wiki/ANSI_escape_code
@colors ||= (31..36).to_a
@size = @colors.size
@index = 0
# io.sync = true
end