Module TempPathname
In: lib/temp_path.rb

Methods

clean   temp?  

Public Instance methods

This method remove your temporary pathname. You do not need to call this method if you provide a block when you create a tempfile.

[Source]

# File lib/temp_path.rb, line 144
  def clean
    if exist?
      if directory?
        rmtree
      else
        unlink
      end
    end
  end

[Source]

# File lib/temp_path.rb, line 154
  def temp?
    true
  end

[Validate]