static public Method

RL.new(file_prefix=DFLT_PREFIX,temp_dir=DFLT_TMPDIR)

There's no documentation for this item.

Source Code

# File rio/scheme/temp.rb, line 112
def initialize(file_prefix=DFLT_PREFIX,temp_dir=DFLT_TMPDIR)
  #puts "initialize(#{file_prefix.inspect},#{temp_dir.inspect})"
  @prefix = file_prefix || DFLT_PREFIX
  @tmpdir = temp_dir || DFLT_TMPDIR
  require 'tempfile'
  @tf = ::Tempfile.new( @prefix.to_s, @tmpdir.to_s)
  super(@tf.path)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.