lib/tap/generator/exe.rb in tap-gen-0.1.2 vs lib/tap/generator/exe.rb in tap-gen-0.1.3

- old
+ new

@@ -16,10 +16,10 @@ unless const raise "unknown generator: #{name}" end - generator, argv = const.constantize.parse(argv) + generator = const.constantize.parse(argv) generator.template_dir = env.class_path(:templates, generator) {|dir| File.directory?(dir) } generator.extend(mod).process(*argv) end end end \ No newline at end of file