public Method

RIO.root(*args) { |self| ... }

Create a Rio as with RIO#rio which refers to a directory at the root of the file system

tmpdir = RIO.root('tmp') #=> rio('/tmp')

Source Code

# File rio/constructor.rb, line 242
def root(*args,&block) # :yields: self
  Rio.new.rootpath(*args,&block) 
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.