Skip to content

Commit

Permalink
Use the new param_type_name method from Core::CLI::Text::Params.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 11, 2025
1 parent ecedc0d commit ada9a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/_params.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<kbd><%=h name %></kbd>
</td>
<td>
<kbd><%=h param.type.class.name.split('::').last %></kbd>
<kbd><%=h param_type_name(param) %></kbd>
</td>
<td>
<% if param.required? %>
Expand Down

0 comments on commit ada9a1d

Please sign in to comment.