Fwd: [SOLUTION] Mexican Blanket (#127)

I noticed there are some line wraps if you cut and paste from the email
so
here is the source file.

On 6/10/07, Will Bailey < [email protected]> wrote:


  @length = length
def generate
    if @color_count[:color1] > 1
    @value += "01840"
    @color2 = @color1 < 2 ? @color1 + 1 : @color1 - 1
  @pattern = Pattern.new(@[email protected])

in full color"
width:#{@scale}px; height:#{@scale}px;}\n.wrapper{border:2px solid #fff;
@html += “\n”

Blanket.new accepts height, width, and scale (used for html version)

if FILE == $0
blanket = RubyQuiz::Blanket.new(*ARGV)
end



will bailey
towers perrin
804.852.6758

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs