Sha256: e8ba172b1fde19b02bb785cec1fb886b85faa3acc0d556967ff1076280236c5e

Contents?: true

Size: 642 Bytes

Versions: 5

Compression:

Stored size: 642 Bytes

Contents

# encoding: utf-8
<% tabs = 0 -%>
<% project.namespaces.each do |item| -%>

<%= "  " * tabs %># @todo
<%= "  " * tabs %>module <%= item %>
<% tabs += 1 -%>
<% end -%>

<%= "  " * tabs %>require_relative "<%= project.path %>/version"
<% if project.namespaces.any? -%>
<%= "  " * tabs %>require_relative "<%= project.path %>"
<% else -%>

<%= "  " * tabs %># Namespace for the code of the '<%= project.file %>' gem
<%= "  " * tabs %>module <%= project.const %>

<%= "  " * tabs %>end # module <%= project.const %>
<% end -%>
<% project.namespaces.reverse.each do |item| -%>
<% tabs -= 1 %>
<%= "  " * tabs %>end # module <%= item %>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hexx-domains-0.0.5 lib/hexx/domains/cli/lib.erb
hexx-domains-0.0.4 lib/hexx/domains/cli/lib.erb
hexx-domains-0.0.3 lib/hexx/domains/cli/lib.erb
hexx-domains-0.0.2 lib/hexx/domains/cli/lib.erb
hexx-domains-0.0.1 lib/hexx/domains/cli/lib.erb