extra_doc/API.md.erb in onstomp-1.0.2 vs extra_doc/API.md.erb in onstomp-1.0.3
- old
+ new
@@ -18,10 +18,10 @@
<tbody>
<% api[:methods].each do |meth| %>
<tr>
<td>{<%= meth[:yard_link] %> <%= meth[:name]%>}</td>
<td>
- <code><%= meth[:signature] %></code>
+ <code><%= meth[:signature].gsub('{}', '<optional hash>') %></code>
</td>
<% meth[:protocols].each do |proto| %>
<td style="background-color: #<%= proto ? 'bfb' : 'fbb' %>;"><%= proto %></td>
<% end %>
</tr>