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
bundlegem-0.0.14 lib/bundlegem/templates/newgem/lib/#{name}.rb.tt
bundlegem-0.0.14 lib/bundlegem/templates/c_extension_gem/lib/#{name}.rb.tt
bundlegem-0.0.13 lib/bundlegem/templates/newgem/lib/#{name}.rb.tt
bundlegem-0.0.13 lib/bundlegem/templates/c_extension_gem/lib/#{name}.rb.tt
carat-1.9.9.pre1 lib/carat/templates/newgem/lib/newgem.rb.tt
bundlegem-0.0.12 lib/bundlegem/templates/c_extension_gem/lib/#{name}.rb.tt
bundlegem-0.0.12 lib/bundlegem/templates/newgem/lib/#{name}.rb.tt
rubygems-update-2.6.14 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-2.6.13 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundlegem-0.0.11 lib/bundlegem/templates/newgem/lib/#{name}.rb.tt
bundlegem-0.0.11 lib/bundlegem/templates/c_extension_gem/lib/#{name}.rb.tt
bundlegem-0.0.10 lib/bundlegem/templates/c_extension_gem/lib/#{name}.rb.tt
bundlegem-0.0.10 lib/bundlegem/templates/newgem/lib/#{name}.rb.tt
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/bundler-1.14.6/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-2.6.12 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-2.6.11 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.14.6 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.14.5 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-1.14.4 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundlegem-0.0.9 lib/bundlegem/templates/c_extension_gem/lib/#{name}.rb.tt