diff options
author | Ali Polatel <alip@exherbo.org> | 2011-09-24 15:25:24 +0300 |
---|---|---|
committer | Ali Polatel <alip@exherbo.org> | 2011-09-24 15:25:24 +0300 |
commit | a08aa32b44b28f50f00cbd69e1a39023158f1847 (patch) | |
tree | b18ca99d33293012097e173419042601eb15aba4 /bindings/ruby/thread.c | |
parent | bfe4555325086d5cb99e3962424128f94d1c921d (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/thread.c')
-rw-r--r-- | bindings/ruby/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/thread.c b/bindings/ruby/thread.c index e5c87366..d10c924d 100644 --- a/bindings/ruby/thread.c +++ b/bindings/ruby/thread.c @@ -21,7 +21,7 @@ #include "defs.h" /* - * call-seq: THREAD.destroy => nil + * call-seq: THREAD.destroy! => nil * * Destroys the thread, freeing all resources allocated for it. */ |