Sha256: 95168feb720534e84310e8edce1c660a9c8123f310cb5b014c9f9d7a2f1ef6b8
Contents?: true
Size: 482 Bytes
Versions: 8
Compression:
Stored size: 482 Bytes
Contents
<%- app_name = class_name.sub(/./) {|a| a.downcase } %> <%- page_method_name = app_name + "Page" %> rio.apps.<%= app_name %> = rio.Application.create({ require: ["pages/<%= file_name %>_page"], requireCss: ["css_reset", "<%= file_name %>"], routes: { "": "<%= page_method_name %>" }, attrAccessors: [], attrReaders: [], methods: { initialize: function(options) { }, <%= page_method_name %>: function() { return new rio.pages.<%= class_name %>Page(); } } });
Version data entries
8 entries across 8 versions & 1 rubygems