aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/threads.c
diff options
context:
space:
mode:
authorAli Polatel <alip@exherbo.org>2011-09-24 15:25:24 +0300
committerAli Polatel <alip@exherbo.org>2011-09-24 15:25:24 +0300
commita08aa32b44b28f50f00cbd69e1a39023158f1847 (patch)
treeb18ca99d33293012097e173419042601eb15aba4 /bindings/ruby/threads.c
parentbfe4555325086d5cb99e3962424128f94d1c921d (diff)
ruby: Rename destroy to destroy!
According to the common Ruby function naming convention, potentially dangerous functions or functions which operate on the object itself are suffixed with an exclamation mark. Both of these are true for object destroying functions. The following modules are affected: - Notmuch::Directory - Notmuch::FileNames - Notmuch::Query - Notmuch::Threads - Notmuch::Thread - Notmuch::Messages - Notmuch::Message - Notmuch::Tags
Diffstat (limited to 'bindings/ruby/threads.c')
-rw-r--r--bindings/ruby/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/threads.c b/bindings/ruby/threads.c
index abd5121..ccf59f8 100644
--- a/bindings/ruby/threads.c
+++ b/bindings/ruby/threads.c
@@ -21,7 +21,7 @@
#include "defs.h"
/*
- * call-seq: THREADS.destroy => nil
+ * call-seq: THREADS.destroy! => nil
*
* Destroys the threads, freeing all resources allocated for it.
*/