rmagick/rmagick — Issue #41: While reading image file,colorspace will not be set in block 
Author: rempargo
Created: 2011-12-29 21:20:23+00:00
State: open

# this doesn't work,
image = Magick::Image.new(100,100){
self.colorspace = Magick::LABColorspace
}
p image.colorspace == Magick::LABColorspace

# this works
image = Magick::Image.new(100,100)
image.colorspace = Magick::LABColorspace
p image.colorspace == Magick::LABColorspace

Why can't the colorspace be set during the block? Is this a bug or intended (if so, why?).