From a08aa32b44b28f50f00cbd69e1a39023158f1847 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Sat, 24 Sep 2011 15:25:24 +0300 Subject: 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 --- bindings/ruby/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/ruby/message.c') diff --git a/bindings/ruby/message.c b/bindings/ruby/message.c index 49dbace3..f84ed925 100644 --- a/bindings/ruby/message.c +++ b/bindings/ruby/message.c @@ -21,7 +21,7 @@ #include "defs.h" /* - * call-seq: MESSAGE.destroy => nil + * call-seq: MESSAGE.destroy! => nil * * Destroys the message, freeing all resources allocated for it. */ -- cgit v1.2.3