Class | Magick::ImageList |
In: |
lib/RMagick.rb
ext/RMagick/rmmain.c |
Parent: | Object |
length | -> | size |
remap | -> | affinity |
ImageMagic used affinity in 6.4.3, switch to remap in 6.4.4. | ||
respond_to? | -> | __respond_to__? |
Ensure respond_to? answers correctly when we are delegating to Image | ||
display | -> | __display__ |
scene | [R] |
Compare ImageLists Compare each image in turn until the result of a comparison is not 0. If all comparisons return 0, then
return if A.scene != B.scene return A.length <=> B.length
The ImageList class supports the Magick::Image class methods by simply sending the method to the current image. If the method isn‘t explicitly supported, send it to the current image in the array. If there are no images, send it up the line. Catch a NameError and emit a useful message.