We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd438d0 commit a7301a8Copy full SHA for a7301a8
elasticsearch-api/utils/thor/templates/method.erb
@@ -8,7 +8,7 @@ module Elasticsearch
8
<%- end %>
9
<%= ' '*(@namespace_depth) %>module API
10
<%- @module_namespace.each_with_index do |name, i| -%>
11
- <%= ' '*i %>module <%= name.capitalize %>
+ <%= ' '*i %>module <%= name.split("_").map(&:capitalize).join %>
12
<%- end -%>
13
<%= ' '*(@namespace_depth+2) %>module Actions
14
<%= ERB.new(File.new("./thor/templates/_documentation_top.erb").read, trim_mode: '-').result(binding) -%>
0 commit comments