Class: Branding::PixelHiColor
Instance Attribute Summary
Attributes inherited from Pixel
Instance Method Summary collapse
Methods inherited from Pixel
#==, #a, #b, #g, #initialize, #inspect, load_strategy, #r, rgb, #to_i, #to_rgb, #to_rgba, #width
Constructor Details
This class inherits a constructor from Branding::Pixel
Instance Method Details
#to_s ⇒ Object
95 96 97 |
# File 'lib/branding/pixel.rb', line 95 def to_s "#{ANSI.bg(*ANSI.uint32_to_rgb(@uint32))} " end |