templates/newgem/lib/newgem.rb.tt in volt-0.8.27.beta3 vs templates/newgem/lib/newgem.rb.tt in volt-0.8.27.beta4

- old
+ new

@@ -1,8 +1,6 @@ -require "<%=config[:namespaced_path]%>/version" - <%- config[:constant_array].each_with_index do |c,i| -%> -<%= ' '*i %>class <%= c %> +<%= ' '*i %><% if c == 'Volt' %>module<% else %>class<% end %> <%= c %> <%- end -%> <%= ' '*config[:constant_array].size %># Your code goes here... <%- (config[:constant_array].size-1).downto(0) do |i| -%> <%= ' '*i %>end <%- end -%>