Sha256: 729ddaf6c4e3a0591a4e833db9fe911dfbab13701814712c3971b878a63ab293
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
<% dirs.each.with_index(0) do |dir, tab| %><%= ' ' * tab %>module <%= dir.camelize %> <% end %><%= ' ' * dirs.size %>class <%= @command_name.camelize%> < BaseCommand <%= ' ' * (dirs.size + 1) %>def call <%= ' ' * (dirs.size + 2) %># TODO: write something <% [*0..(dirs.size + 1)].reverse_each do |tab| %><%= ' ' * tab %>end <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pleiades-0.1.6 | lib/pleiades/generators/pleiades/command/templates/command.erb |
pleiades-0.1.5 | lib/pleiades/generators/pleiades/command/templates/command.erb |