Sha256: 529783c195d952cb614ab171c71396f4c11f1ddb912a86461fc3a3fca8bb8a03

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

require '<%=config[:namespaced_path]%>/version'

<%- config[:constant_array].each_with_index do |c,i| -%>
<%= '  '*i %>module <%= c %>
<%- end -%>
<%= '  '*config[:constant_array].size %># Your code goes here...
<%- (config[:constant_array].size-1).downto(0) do |i| -%>
<%= '  '*i %>end
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
straptible-0.2.4 lib/straptible/gem/templates/lib/newgem.rb.tt
straptible-0.2.3 lib/straptible/gem/templates/lib/newgem.rb.tt
straptible-0.2.2 lib/straptible/gem/templates/lib/newgem.rb.tt
straptible-0.2.1 lib/straptible/gem/templates/lib/newgem.rb.tt
straptible-0.2.0 lib/straptible/gem/templates/lib/newgem.rb.tt