[Pkg-libvirt-commits] [libguestfs] 31/156: ruby: add :nodoc: comment for internal methods

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:25:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit ddc62b6459d5b73e5d16bf7247b128b34eedc0db
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue May 27 11:02:58 2014 +0200

    ruby: add :nodoc: comment for internal methods
    
    This way they are ignored by rdoc.
    
    (cherry picked from commit 917ca11a76863075b4fcb13fe0eec0c2a6a08892)
---
 generator/ruby.ml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/generator/ruby.ml b/generator/ruby.ml
index 1111993..88762ca 100644
--- a/generator/ruby.ml
+++ b/generator/ruby.ml
@@ -522,6 +522,15 @@ get_all_event_callbacks (guestfs_h *g, size_t *len_rtn)
  * +guestfs_%s+[http://libguestfs.org/guestfs.3.html#guestfs_%s]).
  */
 " f.name args ret f.shortdesc doc f.name f.name
+      ) else (
+        pr "\
+/*
+ * call-seq:
+ *   g.%s
+ *
+ * :nodoc:
+ */
+" f.name
       );
 
       (* Generate the function.  Prototype is completely different

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list