Sha256: d6489faf5bff4ebefaee92be87d4820dd99be82e6b72f9a12818daf4bf5e4817
Contents?: true
Size: 377 Bytes
Versions: 8
Compression:
Stored size: 377 Bytes
Contents
<%= modules[0..-2].inject(""){ |s, mod| s+= "module #{mod}; "} %>module <%=modules[-1]%> class <%= module_name %>Controller < Spider::AppController layout '<%= app_name %>' def index @scene.msg = 'Hello!' render('index') end end <%= modules[0..-2].inject("") { |str, mod| str+= 'end; '} %>end
Version data entries
8 entries across 8 versions & 1 rubygems