Sha256: 4b552c54ceef8ee751dc0e39e87caf1c8c25ec94b37492e195375df8769f26ba
Contents?: true
Size: 581 Bytes
Versions: 2
Compression:
Stored size: 581 Bytes
Contents
<% counter = 0 -%> <% controller_modules.each_with_index do |mod, i| -%> <%= " " * i %>module <%= mod %> <% counter = i -%> <% end -%> <% counter = counter == 0 ? 0 : (counter + 1) -%> <%= " " * counter %>class <%= controller_class_name %>Part < Merb::PartController <%= " " * counter %> def index <%= " " * counter %> render <%= " " * counter %> end <%= " " * counter %>end <% counter = counter == 0 ? 0 : (counter - 1) -%> <% controller_modules.reverse.each_with_index do |mod, i| -%> <%= " " * counter %>end # <%= mod %> <% counter = counter - 1 -%> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems