class JsDuck::Process::InheritDoc
Deals with inheriting documentation
Public Class Methods
new(relations)
click to toggle source
# File lib/jsduck/process/inherit_doc.rb, line 11 def initialize(relations) @relations = relations @inherit_class = InheritClass.new(@relations) @inherit_members = InheritMembers.new(@relations) end
Public Instance Methods
process_all!()
click to toggle source
Performs all inheriting
# File lib/jsduck/process/inherit_doc.rb, line 18 def process_all! @relations.each do |cls| @inherit_class.resolve(cls) @inherit_members.resolve(cls) end @relations.each do |cls| cls.refresh_member_ids! end end