We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@option
1 parent aae520b commit 741bd85Copy full SHA for 741bd85
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+# HEAD
2
+
3
+- Support using `@option` tag on keyword arg splat parameter. (#729)
4
5
# 0.8.7.5 - October 26, 2014
6
7
- Fix linking of methods in top level namespace in method listing. (#776)
templates/default/tags/html/option.erb
@@ -1,6 +1,6 @@
<% if object.has_tag?(:option) %>
<% object.parameters.each do |param, default| %>
- <% tags = object.tags(:option).select {|x| x.name.to_s == param.to_s } %>
+ <% tags = object.tags(:option).select {|x| x.name.to_s == param.to_s.sub(/^\*+/, '') } %>
<% next if tags.empty? %>
<p class="tag_title">Options Hash (<tt><%= param %></tt>):</p>
<ul class="option">
0 commit comments