Skip to content

Commit 1468aea

Browse files
committed
Add tooltip to attribute type
1 parent ffb89b0 commit 1468aea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/rdoc/generator/template/darkfish/class.rhtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,8 @@
9494
<%- attributes.each do |attrib| %>
9595
<div id="<%= attrib.aref %>" class="method-detail anchor-link">
9696
<div class="method-heading attribute-method-heading">
97-
<a href="#<%= attrib.aref %>" title="Link to this attribute">
98-
<span class="method-name"><%= h attrib.name %></span>
99-
<span class="attribute-access-type">[<%= attrib.rw %>]</span>
100-
</a>
97+
<a href="#<%= attrib.aref %>" title="Link to this attribute"><span class="method-name"><%= h attrib.name %></span></a>
98+
<span class="attribute-access-type" title="<%= attrib.definition %>">[<%= attrib.rw %>]</span>
10199
</div>
102100

103101
<div class="method-description">

0 commit comments

Comments
 (0)