lib/pleiades/generators/pleiades/command/templates/command.erb in pleiades-0.1.4 vs lib/pleiades/generators/pleiades/command/templates/command.erb in pleiades-0.1.5

- old
+ new

@@ -1,6 +1,6 @@ <% dirs.each.with_index(0) do |dir, tab| %><%= ' ' * tab %>module <%= dir.camelize %> -<% end %><%= ' ' * dirs.size %>class <%= name.camelize%> < BaseCommand +<% 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 %> \ No newline at end of file