Sha256: 1cbee6b8e3e7465a6e00ce1d2a89f4970dd4bcfcf8d1f92da341a3345cf0e872
Contents?: true
Size: 253 Bytes
Versions: 85
Compression:
Stored size: 253 Bytes
Contents
module Cairo class Region def each_rectangle return to_enum(:each_rectangle) unless block_given? num_rectangles.times.each do |i| yield(self[i]) end end def rectangles each_rectangle.to_a end end end
Version data entries
85 entries across 77 versions & 2 rubygems