defunkt / tomdoc

A TomDoc Ruby library.
http://tomdoc.org/
MIT License
114 stars 16 forks source link

Class methods using 'extend self' do not get published #35

Open gnilrets opened 10 years ago

gnilrets commented 10 years ago

The documentation for B.cool does not show up unless I remove extend self and use def self.cool

module A
  # Public: These are my module B methods.
  module B
    extend self

    # Public: Class method that does something really cool.
    #
    # Returns cool
    def cool
      "Cool beans"
    end
  end
end