Sha256: 1795f35a2cb8e5219a421cf2d1b344de61621ec95a7d04321a98b40c97d60a06

Contents?: true

Size: 567 Bytes

Versions: 30

Compression:

Stored size: 567 Bytes

Contents

<%- assert_locals namespace -%>
<%= render partial: "shared/header" -%>

<%- if instance_variable_defined? :@requires -%>
<%= @requires -%>
<%- end -%>

<%- namespace_components = namespace.split("::").reject(&:empty?) -%>
<%- namespace_components.each_with_index do |ns, i| -%>
<%= indent "module #{ns}", i*2 %>
<%- end -%>
<%= indent yield, namespace_components.count*2 %>
<%- namespace_components.count.times do |i| -%>
<%= indent "end", (namespace_components.count-1-i)*2 %>
<%- end -%>
<%- if instance_variable_defined? :@footer -%>

<%= @footer -%>
<%- end -%>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gapic-generator-0.6.6 templates/default/layouts/_ruby.erb
gapic-generator-0.6.5 templates/default/layouts/_ruby.erb
gapic-generator-0.6.4 templates/default/layouts/_ruby.erb
gapic-generator-0.6.3 templates/default/layouts/_ruby.erb
gapic-generator-0.6.2 templates/default/layouts/_ruby.erb
gapic-generator-0.6.1 templates/default/layouts/_ruby.erb
gapic-generator-0.6.0 templates/default/layouts/_ruby.erb
gapic-generator-0.5.1 templates/default/layouts/_ruby.erb
gapic-generator-0.5.0 templates/default/layouts/_ruby.erb
gapic-generator-0.4.2 templates/default/layouts/_ruby.erb