directory (Templater::Generator)

    # File lib/templater/generator.rb, line 279
          def directory(name, *args, &block)
            options = args.last.is_a?(Hash) ? args.pop : {}
            source, destination = args
            source, destination = source, source if args.size == 1

            directories << ActionDescription.new(name, options) do |generator|
              directory = Actions::Directory.new(generator, name, source, destination, options)
              generator.instance_exec(directory, &block) if block
              directory
            end
          end