Method: RDoc::Context#fully_documented?

Defined in:
lib/rdoc/code_object/context.rb

#fully_documented?Boolean

Does this context and its methods and constants all have documentation?

(Yes, fully documented doesn’t mean everything.)

Returns:

  • (Boolean)


966
967
968
969
970
971
# File 'lib/rdoc/code_object/context.rb', line 966

def fully_documented?
  documented? and
    attributes.all? { |a| a.documented? } and
    method_list.all? { |m| m.documented? } and
    constants.all? { |c| c.documented? }
end