Class: RDoc::ClassModule
- Inherits:
-
Object
- Object
- RDoc::ClassModule
- Defined in:
- lib/rdoc/generator/shomen_extensions.rb
Instance Method Summary collapse
Instance Method Details
#document_self_or_methods ⇒ Object
35 36 37 |
# File 'lib/rdoc/generator/shomen_extensions.rb', line 35 def document_self_or_methods document_self || method_list.any?{ |m| m.document_self } end |
#with_documentation? ⇒ Boolean
30 31 32 |
# File 'lib/rdoc/generator/shomen_extensions.rb', line 30 def with_documentation? document_self_or_methods || classes_and_modules.any?{ |c| c.with_documentation? } end |