Sha256: 28d36be1a7554e03a07b51a2392bfe1c0945ad7e5bb119eb3bc7721a6589ccc8
Contents?: true
Size: 474 Bytes
Versions: 20
Compression:
Stored size: 474 Bytes
Contents
include T('default/appendix/html') def init super end def appendix controllers = options[:controllers] if options[:all_resources] controllers = options[:resources].flatten.select { |o| o.is_a?(YARD::CodeObjects::NamespaceObject) } end unless controllers && controllers.is_a?(Array) return end @appendixes = controllers.collect do |controller| controller.children.select { |tag| :appendix == tag.type } end.flatten.uniq super end
Version data entries
20 entries across 20 versions & 1 rubygems