lib/tap/generator/generators/task/task_generator.rb in bahuvrihi-tap-0.10.7 vs lib/tap/generator/generators/task/task_generator.rb in bahuvrihi-tap-0.10.8
- old
+ new
@@ -1,8 +1,8 @@
module Tap::Generator::Generators
- # :startdoc::generator a task and test
+ # Tap::Generator::Generators::TaskGenerator::generator a task and test
#
# Generates a new Tap::Task and an associated test file.
class TaskGenerator < Tap::Generator::Base
config :test, true, &c.switch # Generates the task without test files.
@@ -17,11 +17,9 @@
if test
test_path = app.filepath('test', "#{const.path}_test.rb")
m.directory File.dirname(test_path)
m.template test_path, "test.erb", :const => const
end
-
- const
end
end
end
\ No newline at end of file