Sha256: 4fb1648bff14f5c1674c3e404d8aeec9dec8768a0fbe99edec880c6732e380e3

Contents?: true

Size: 406 Bytes

Versions: 143

Compression:

Stored size: 406 Bytes

Contents

require "<%=config[:namespaced_path]%>/version"
<%- if config[:ext] -%>
require "<%=config[:namespaced_path]%>/<%=config[:underscored_name]%>"
<%- end -%>

<%- 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

143 entries across 134 versions & 7 rubygems

Version Path
bundler-1.6.9 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.5 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.8 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.4 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.7 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.3 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.6 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.2 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.1 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.1.pre.3 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.1.pre.2 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.1.pre lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.7.0 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.5 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.4 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-prehistoric-1.6.2.2 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.3 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-prehistoric-1.6.2.1 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-prehistoric-1.6.2 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.6.2 lib/bundler/templates/newgem/lib/newgem.rb.tt