class Term::ANSIColor::PPMReader
def initialize(io, options = {})
def initialize(io, options = {}) @io = io @options = options @buffer = ''.dup if options[:true_coloring] @color = -> pixel { on_color Attribute.true_color(pixel, @options) } else @color = -> pixel { on_color Attribute.nearest_rgb_color(pixel, @options) } end end