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.11.0 templates/default/layouts/_ruby.erb
gapic-generator-0.10.1 templates/default/layouts/_ruby.erb
gapic-generator-0.10.0 templates/default/layouts/_ruby.erb
gapic-generator-0.9.1 templates/default/layouts/_ruby.erb
gapic-generator-0.9.0 templates/default/layouts/_ruby.erb
gapic-generator-0.8.0 templates/default/layouts/_ruby.erb
gapic-generator-0.7.5 templates/default/layouts/_ruby.erb
gapic-generator-0.7.4 templates/default/layouts/_ruby.erb
gapic-generator-0.7.2 templates/default/layouts/_ruby.erb
gapic-generator-0.7.1 templates/default/layouts/_ruby.erb
gapic-generator-0.7.0 templates/default/layouts/_ruby.erb
gapic-generator-0.6.15 templates/default/layouts/_ruby.erb
gapic-generator-0.6.14 templates/default/layouts/_ruby.erb
gapic-generator-0.6.13 templates/default/layouts/_ruby.erb
gapic-generator-0.6.12 templates/default/layouts/_ruby.erb
gapic-generator-0.6.11 templates/default/layouts/_ruby.erb
gapic-generator-0.6.10 templates/default/layouts/_ruby.erb
gapic-generator-0.6.9 templates/default/layouts/_ruby.erb
gapic-generator-0.6.8 templates/default/layouts/_ruby.erb
gapic-generator-0.6.7 templates/default/layouts/_ruby.erb