Sha256: a2ed2c2da37fa362e9cacbd61289b5606c3b9c6eeaa216247aac943950340d02

Contents?: true

Size: 336 Bytes

Versions: 75

Compression:

Stored size: 336 Bytes

Contents

module Coco<% class_namespace_modules.each_with_index do |mod, i| %>
<%= indent(i + 1) %>module <%= mod %><% end %>
<%= indent(modules_count + 1) %>class <%= component_class %> < Coco::Component
<%= indent(modules_count + 1) %>end<% class_namespace_modules.each_with_index do |mod, i| %>
<%= indent(modules_count - i) %>end<% end %>
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
coveragebook_components-0.19.10 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.9 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.8 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.7 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.6 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.5 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.4 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.3 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.2 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.1 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.19.0 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.18.8 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.18.7 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.18.0 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.17.7 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.17.6 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.17.5 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.17.4 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.17.3 lib/generators/coco/templates/component.rb.tt
coveragebook_components-0.17.2 lib/generators/coco/templates/component.rb.tt