File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
rdoc/generator/template/rorvswild
rorvswild_theme_rdoc/patches Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 33 < h3 > Extended With Modules</ h3 >
44
55 < ul class ="link-list ">
6- <%- klass . each_extend do |ext | -%>
6+ <%- klass . extends . each do |ext | -%>
77 <%- unless String === ext . module then -%>
88 < li > < a class ="extend " href ="<%= klass . aref_to ext . module . path %> "> <%= ext . module . full_name %> </ a >
99 <%- else -%>
Original file line number Diff line number Diff line change 33 < h3 > Included Modules</ h3 >
44
55 < ul class ="link-list ">
6- <%- klass . each_include do |inc | -%>
6+ <%- klass . includes . each do |inc | -%>
77 <%- unless String === inc . module then -%>
88 < li > < a class ="include " href ="<%= klass . aref_to inc . module . path %> "> <%= inc . module . full_name %> </ a >
99 <%- else -%>
Original file line number Diff line number Diff line change 11require "rorvswild_theme_rdoc/patches/rdoc"
2+ require "rorvswild_theme_rdoc/patches/rdoc_before_6.13.0"
23
34module RorVsWildThemeRdoc
45end
Original file line number Diff line number Diff line change 1+ if RDoc ::VERSION < "6.13.0"
2+ # https://github.com/ruby/rdoc/pull/1315
3+ module RDoc
4+ class NormalClass
5+ attr_reader :includes
6+ attr_reader :extends
7+ attr_reader :constants
8+ end
9+ end
10+ end
You can’t perform that action at this time.
0 commit comments