Object
# File test-unit-3.3.7/lib/test/unit/color.rb, line 111 def initialize(colors) @colors = colors end
# File test-unit-3.3.7/lib/test/unit/color.rb, line 125 def +(other) self.class.new([self, other]) end
# File test-unit-3.3.7/lib/test/unit/color.rb, line 129 def ==(other) self.class === other and colors == other.colors end
# File test-unit-3.3.7/lib/test/unit/color.rb, line 121 def escape_sequence "\e[#{sequence.join(';')}m" end
# File test-unit-3.3.7/lib/test/unit/color.rb, line 115 def sequence @colors.inject([]) do |result, color| result + color.sequence end end
This page was generated for Ruby 3.0.2
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.