/usr/share/doc/ruby-rmagick/examples/constitute.rb is in ruby-rmagick-doc 2.16.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #!/usr/bin/env ruby -w
require 'rmagick'
f = Magick::Image.read('../doc/ex/images/Flower_Hat.jpg').first
pixels = f.dispatch(0,0,f.columns, f.rows, 'RGB')
image = Magick::Image.constitute(f.columns, f.rows, 'RGB', pixels)
image.write('constitute.miff')
|