Sha256: 6084eb8a64aa8d90a2f23ddfd193a01b280e22580312d5ecaee97fe348252c7b

Contents?: true

Size: 501 Bytes

Versions: 7

Compression:

Stored size: 501 Bytes

Contents

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

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

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gapic-generator-0.4.0 templates/default/layouts/_ruby.erb
gapic-generator-0.3.3 templates/default/layouts/_ruby.erb
gapic-generator-0.3.1 templates/default/layouts/_ruby.erb
gapic-generator-0.3.0 templates/default/layouts/_ruby.erb
gapic-generator-0.2.3 templates/default/layouts/_ruby.erb
gapic-generator-0.2.2 templates/default/layouts/_ruby.erb
gapic-generator-0.2.0 templates/default/layouts/_ruby.erb