module RDoc::AddClassModuleComment

Add top level comments to a class or module regardless of whether we are using rdoc1 or rdoc2+ @api private

Public Instance Methods

add_comment(comment, location = nil) click to toggle source
# File lib/puppet/util/rdoc/code_objects.rb, line 20
def add_comment(comment, location = nil)
  if PUPPET_RDOC_VERSION == 1
    self.comment = comment
  else
    super
  end
end