lib/ws2812/unicornhat.rb
def push_all_pixels
			0.upto(7) do |x|
				0.upto(7) do |y|
					@hat[map_coords(x, y)] = @pixels[x][y]
				end
			end
		end
def push_all_pixels
			0.upto(7) do |x|
				0.upto(7) do |y|
					@hat[map_coords(x, y)] = @pixels[x][y]
				end
			end
		end
def push_all_pixels 0 . upto ( 7 ) do | x | 0 . upto ( 7 ) do | y | @hat [ map_coords ( x , y ) ] = @pixels [ x ] [ y ] end end end
Pushes all pixels from buffer to the lower level (physical device)

 This is internally used when changing rotation but it can be useful
 when you set several pixels to the same Color instance and then
 manipulate those pixels' color all at once.
Pushes all pixels from buffer to the lower level ( physical device )