Sha256: 742b21fc94fb9e35500c725bb11962ef709f19779098fa0f749e7aa1dfd2be25

Contents?: true

Size: 494 Bytes

Versions: 40

Compression:

Stored size: 494 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 %>class Error < StandardError; end
<%= "  " * config[:constant_array].size %># Your code goes here...
<%- (config[:constant_array].size-1).downto(0) do |i| -%>
<%= "  " * i %>end
<%- end -%>

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
rubygems-update-3.1.6 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.5 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.0.9 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.4 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.3 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.0.8 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.0.7 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.4 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.3 lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.2 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.2 lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.1 lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.1 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.0 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.0 lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.0.pre3 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.0.pre.3 lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.0.pre2 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
rubygems-update-3.1.0.pre1 bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt
bundler-2.1.0.pre.2 lib/bundler/templates/newgem/lib/newgem.rb.tt