#39 ✓resolved
bahuvrihi

documentation mistakes in FileTask

Reported by bahuvrihi | May 13th, 2008 @ 02:00 PM

No make method exists:

  t = FileTask.new
  File.exists?("path")                  # => false
  FileUtils.mkdir("path")               # will not be removed

  t.make("path/to/file.txt")
  FileUtils.touch("path/to/file.txt")
  File.exists?("path/to/file.txt")      # => true

  t.rm("path/to/file.txt")
  File.exists?("path")                  # => true
  File.exists?("path/to")               # => false

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for making configurable, file-based tasks and workflows.

People watching this ticket

Tags

Pages