compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/grid_builder.rb
def generate!
      (0...@height-1).each do |line|
        @data[line] = Array.new(@width){|x| x < @column_width ? [0xe8, 0xef, 0xfb] : [0xff,0xff,0xff] }
      end

      if File.exists?(filename)
        if options[:force]
          overwrite = true
        else
          msg = "#{filename} already exists. Overwrite with --force."
          raise Compass::FilesystemConflict.new(msg)
        end
      end
      directory File.dirname(filename)
      write_file(filename, self.to_blob, options, true)
    end
# generates (overwriting if necessary) grid.png image to be tiled in background
generates (overwriting if necessary) grid.png image to be tiled in background
generates ( overwriting if necessary ) grid . png image to be tiled in background
def generate!
      (0...@height-1).each do |line|
        @data[line] = Array.new(@width){|x| x < @column_width ? [0xe8, 0xef, 0xfb] : [0xff,0xff,0xff] }
      end
      if File.exists?(filename)
        if options[:force]
          overwrite = true
        else
          msg = "#{filename} already exists. Overwrite with --force."
          raise Compass::FilesystemConflict.new(msg)
        end
      end
      directory File.dirname(filename)
      write_file(filename, self.to_blob, options, true)
    end
def generate! ( 0 ... @height - 1 ) . each do | line | @data [ line ] = Array . new ( @width ) { | x | x < @column_width ? [ 0xe8 , 0xef , 0xfb ] : [ 0xff , 0xff , 0xff ] } end if File . exists? ( filename ) if options [ :force ] overwrite = true else msg = "#{filename} already exists. Overwrite with --force." raise Compass :: FilesystemConflict . new ( msg ) end end directory File . dirname ( filename ) write_file ( filename , self . to_blob , options , true ) end
generates (overwriting if necessary) grid.png image to be tiled in background
generates ( overwriting if necessary ) grid . png image to be tiled in background