Sha256: 1d8c30f26c416bab6c405a41b42ad87bd0c4974f449a32343bb9e2da6275464b

Contents?: true

Size: 576 Bytes

Versions: 7

Compression:

Stored size: 576 Bytes

Contents

<%- assert_locals namespace -%>
<%= render partial: "shared/header" -%>
<%- if instance_variable_defined? :@requires -%>

<%= @requires -%>
<%- end -%>
<%- # Two newlines here so YARD won't use the header as documentation -%>


<%- 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.1.7 templates/default/layouts/_ruby.erb
gapic-generator-0.1.5 templates/default/layouts/_ruby.erb
gapic-generator-0.1.4 templates/default/layouts/_ruby.erb
gapic-generator-0.1.3 templates/default/layouts/_ruby.erb
gapic-generator-0.1.2 templates/default/layouts/_ruby.erb
gapic-generator-0.1.1 templates/default/layouts/_ruby.erb
gapic-generator-0.1.0 templates/default/layouts/_ruby.erb