Files

RSCM

Utility for converting between win32 and cygwin paths. Does nothing on *nix.

Public Class Methods

new_temp_dir(suffix="", basedir=File.dirname(__FILE__) + "/../../target") click to toggle source
# File lib/rscm/tempdir.rb, line 9
def new_temp_dir(suffix="", basedir=File.dirname(__FILE__) + "/../../target")
  identifier = identifier.to_s
  identifier.gsub!(/\(|:|\)/, '_')
  dir = "#{basedir}/temp_#{identifier}_#{Time.new.to_i}#{suffix}"
  FileUtils.mkdir_p(dir)
  dir
end

Public Instance Methods

method_name() click to toggle source
# File lib/rscm/tempdir.rb, line 5
def method_name
  /\`([^\']+)\'/.match(caller.first)[1]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.