Flowdock
method

new

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: PrideIO
new(io) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/minitest/pride.rb, line 18
  def initialize io
    @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
Register or log in to add new notes.