File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,11 @@ def call
1313 meta = Nokogiri ::XML ::Node . new 'dl' , doc . document
1414 meta [ 'class' ] = 'meta'
1515
16- if parent = at_css ( '#parent-class-section' )
17- meta << %(<dt>Parent:</dt><dd class="meta-parent">#{ parent . at_css ( '.link' ) . inner_html . strip } </dd>)
16+ parent = at_css ( '#parent-class-section' )
17+ if parent && link = parent . at_css ( '.link' )
18+ meta << %(<dt>Parent:</dt><dd class="meta-parent">#{ link . inner_html . strip } </dd>)
19+ elsif parent && link = parent . at_css ( 'a' )
20+ meta << %(<dt>Parent:</dt><dd class="meta-parent">#{ link . to_html } </dd>)
1821 end
1922
2023 if includes = at_css ( '#includes-section' )
Original file line number Diff line number Diff line change @@ -63,12 +63,16 @@ class Ruby < Rdoc
6363 /\A XMP/ ]
6464
6565 options [ :attribution ] = <<-HTML
66- Ruby Core © 1993–2022 Yukihiro Matsumoto< br >
66+ Ruby Core © 1993–2024 Yukihiro Matsumoto< br >
6767 Licensed under the Ruby License.< br >
6868 Ruby Standard Library © contributors< br >
6969 Licensed under their own licenses.
7070 HTML
7171
72+ version '3.4' do
73+ self . release = '3.4.1'
74+ end
75+
7276 version '3.3' do
7377 self . release = '3.3.0'
7478 end
You can’t perform that action at this time.
0 commit comments