Forum: Ruby RubyInline, RDoc comment for C inline method

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Daniel Schömer (Guest)
on 2008-11-02 17:05
(Received via mailing list)

I am playing around with RubyInline and want to include
a "inlined" C method to the API documentation generated by rdoc.

Here is an minimal example:

---- a.rb ----
require 'inline'

class A
  # Method A.a1
  inline do |builder|
    # Method A.a2
    builder.c %{
       * Method A.a3
      int a() {
        return 0;

  # Method A.b
  def self.b
---- end of a.rb ----

Calling "rdoc a.rb" generates only the documentation for method
A#b, not A#a.

Is it possible to let rdoc generate the documentation for A#a?
If so, how?

This topic is locked and can not be replied to.