Sha256: 4afabac4d4b6f17dab83b6df2adcb857c930e1c0ff1beaf1953231f29ccfa897
Contents?: true
Size: 511 Bytes
Versions: 53
Compression:
Stored size: 511 Bytes
Contents
<%= modules[0..-2].inject(""){ |s, mod| s+= "; " if (s.length > 0); s+="module #{mod}"}+"\n" if (modules.length > 1)%><%= "\n" if (modules.length > 1) %><% tab = (modules.length > 1) ? " " : "" %><%=tab%>module <%=modules[-1]%> <%=tab%> include Spider::App <%=tab%> @controller = :<%= module_name %>Controller <%=tab%>end <%= "\n"+modules[0..-2].inject(""){ |s, mod| s+= "; " if (s.length > 0); s+="end" if (modules.length > 1)} %>require 'apps/<%= app_path %>/controllers/<%= app_name %>_controller'
Version data entries
53 entries across 53 versions & 1 rubygems