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
13
13
meta = Nokogiri ::XML ::Node . new 'dl' , doc . document
14
14
meta [ 'class' ] = 'meta'
15
15
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>)
18
21
end
19
22
20
23
if includes = at_css ( '#includes-section' )
Original file line number Diff line number Diff line change @@ -63,12 +63,16 @@ class Ruby < Rdoc
63
63
/\A XMP/ ]
64
64
65
65
options [ :attribution ] = <<-HTML
66
- Ruby Core © 1993–2022 Yukihiro Matsumoto< br >
66
+ Ruby Core © 1993–2024 Yukihiro Matsumoto< br >
67
67
Licensed under the Ruby License.< br >
68
68
Ruby Standard Library © contributors< br >
69
69
Licensed under their own licenses.
70
70
HTML
71
71
72
+ version '3.4' do
73
+ self . release = '3.4.1'
74
+ end
75
+
72
76
version '3.3' do
73
77
self . release = '3.3.0'
74
78
end
You can’t perform that action at this time.
0 commit comments