Class: RDoc::ClassModule

Inherits:
Object
  • Object
show all
Defined in:
lib/shomen/rdoc/extensions.rb

Instance Method Summary collapse

Instance Method Details

#document_self_or_methodsObject



28
29
30
# File 'lib/shomen/rdoc/extensions.rb', line 28

def document_self_or_methods
  document_self || method_list.any?{ |m| m.document_self }
end

#with_documentation?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/shomen/rdoc/extensions.rb', line 23

def with_documentation?
  document_self_or_methods || classes_and_modules.any?{ |c| c.with_documentation? }
end