lib/tap/generator/generate.rb in tap-gen-0.1.3 vs lib/tap/generator/generate.rb in tap-gen-0.2.0

- old
+ new

@@ -1,6 +1,6 @@ -autoload(:Tempfile, 'tempfile') +require 'tempfile' module Tap module Generator # A mixin defining how to run manifest actions. @@ -58,9 +58,14 @@ FileUtils.mkdir_p(dir) unless File.exists?(dir) FileUtils.mv(source, target, :force => true) end target + end + + # Returns :generate + def action + :generate end protected # Ask the user interactively whether to force collision.