@@ -314,7 +314,7 @@ ImageProcessing::MiniMagick
314314
315315#### ` #method_missing `
316316
317- Any unknown methods will be delegated to [ ` MiniMagick::Tool::Convert ` ] . See the
317+ Any unknown methods will be delegated to [ ` MiniMagick.convert ` ] . See the
318318list of all available options by running ` convert -help ` and visiting the
319319[ ImageMagick reference] .
320320
@@ -329,10 +329,10 @@ ImageProcessing::MiniMagick
329329
330330#### ` #custom `
331331
332- Yields the intermediary ` MiniMagick::Tool::Convert ` object. If the block return
333- value is a ` MiniMagick::Tool::Convert ` object it will be used in further
332+ Yields the intermediary ` MiniMagick.convert ` object. If the block return
333+ value is a ` MiniMagick::Tool ` object it will be used in further
334334processing, otherwise if ` nil ` is returned the original
335- ` MiniMagick::Tool::Convert ` object will be used.
335+ ` MiniMagick::Tool ` object will be used.
336336
337337``` rb
338338ImageProcessing ::MiniMagick
@@ -407,7 +407,7 @@ If you would like to have more control over loading, you can create the
407407` MiniMagick::Tool ` object directly, and just pass it as the source file.
408408
409409``` rb
410- magick = MiniMagick :: Tool :: Convert . new
410+ magick = MiniMagick .convert
411411magick << " ..." << " ..." << " ..."
412412
413413ImageProcessing ::MiniMagick
@@ -454,7 +454,7 @@ magick = ImageProcessing::MiniMagick
454454 .resize_to_limit(400 , 400 )
455455 .call(save: false )
456456
457- magick # => #<MiniMagick::Tool::Convert ...>
457+ magick # => #<MiniMagick::Tool ...>
458458
459459magick << " output.png"
460460magick.call
@@ -520,7 +520,7 @@ ImageProcessing::MiniMagick
520520[ direction ] : https://www.imagemagick.org/script/command-line-options.php#gravity
521521[ color ] : https://www.imagemagick.org/script/color.php
522522[ ImageMagick reference ] : https://www.imagemagick.org/script/command-line-options.php
523- [ `MiniMagick::Tool::Convert ` ] : https://github.com/minimagick/minimagick#metal
523+ [ `MiniMagick.convert ` ] : https://github.com/minimagick/minimagick#metal
524524[ Reading JPEG Control Options ] : http://www.imagemagick.org/Usage/formats/#jpg_read
525525[ Writing JPEG Control Options ] : http://www.imagemagick.org/Usage/formats/#jpg_write
526526[ `-limit` ] : https://www.imagemagick.org/script/command-line-options.php#limit
0 commit comments