Skip to content

Commit 95b446d

Browse files
authored
Add missing Magick method (#9)
rmagick/rmagick#1405
1 parent 2ba67da commit 95b446d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

magick.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ <h3>module methods</h3>
3939

4040
<li><a href="#limit_resource">limit_resource</a></li>
4141

42+
<li><a href="#set_cache_threshold">set_cache_threshold</a></li>
43+
4244
<li><a href="#set_log_event_mask">set_log_event_mask</a></li>
4345

4446
<li><a href="#set_log_format">set_log_format</a></li>
@@ -353,6 +355,24 @@ <h4>Notes</h4>
353355
</p>
354356
</div>
355357

358+
<div class="sig">
359+
<h3 id="set_cache_threshold">set_cache_threshold</h3>
360+
361+
<p>Magick.set_cache_threshold(<span class="arg">threshold</span>)</p>
362+
</div>
363+
364+
<div class="desc">
365+
<h4>Description</h4>
366+
367+
<p>
368+
Set the amount of free memory allocated for the pixel cache. Once this threshold is exceeded, all subsequent pixels cache operations are to/from disk.
369+
</p>
370+
371+
<h4>Argument</h4>
372+
373+
<p>A number of megabytes to set.</p>
374+
</div>
375+
356376
<div class="sig">
357377
<h3 id="set_log_event_mask">set_log_event_mask</h3>
358378

0 commit comments

Comments
 (0)