Sha256: be13dee71171a4534f36604aeac41e7d2d30563e26bfeef38778ed0458635e36

Contents?: true

Size: 800 Bytes

Versions: 34

Compression:

Stored size: 800 Bytes

Contents

# If you need to require in code in the gem's app folder, keep in mind that
# the app is not on the load path when the gem is required.  Use
# app/{gemname}/config/initializers/boot.rb to require in client or server
# code.
#
# Also, in volt apps, you typically use the lib folder in the
# app/{componentname} folder instead of this lib folder.  This lib folder is
# for setting up gem code when Bundler.require is called. (or the gem is
# required.)
#
# If you need to configure volt in some way, you can add a Volt.configure block
# in this file.

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

34 entries across 34 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 templates/newgem/lib/newgem.rb.tt
volt-0.9.7.pre7 templates/newgem/lib/newgem.rb.tt
volt-0.9.7.pre6 templates/newgem/lib/newgem.rb.tt
volt-0.9.7.pre5 templates/newgem/lib/newgem.rb.tt
volt-0.9.7.pre3 templates/newgem/lib/newgem.rb.tt
volt-0.9.7.pre2 templates/newgem/lib/newgem.rb.tt
volt-0.9.6 templates/newgem/lib/newgem.rb.tt
volt-0.9.6.pre3 templates/newgem/lib/newgem.rb.tt
volt-0.9.6.pre2 templates/newgem/lib/newgem.rb.tt
volt-0.9.6.pre1 templates/newgem/lib/newgem.rb.tt
volt-0.9.5 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre12 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre11 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre9 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre8 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre7 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre6 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre5 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre4 templates/newgem/lib/newgem.rb.tt
volt-0.9.5.pre3 templates/newgem/lib/newgem.rb.tt