(PDOC-21) Fix duplicate warnings for hostclasses

Host classes inherit behavior from defined types. I didn't realize this when I
was first implementing this functionality.
This commit is contained in:
Ian Kronquist 2015-08-14 16:11:27 -07:00
parent aebdda4acd
commit bd8d159016
1 changed files with 0 additions and 7 deletions

View File

@ -3,13 +3,6 @@ include T('default/definedtype')
def init
super
sections.push :subclasses
@template_helper = TemplateHelper.new
@template_helper.check_parameters_match_docs object
params = object.parameters.map { |param| param.first }
param_tags = object.tags.find_all{ |tag| tag.tag_name == "param"}
param_details = @template_helper.extract_param_details(params, param_tags) unless params.nil?
@template_helper.check_types_match_docs object, param_details
end
def subclasses