public Method

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

Create a Rio as with RIO#rio which refers to the current working directory

wd = RIO.cwd

If passed arguments they are treated as if

rio(RIO.cwd,*args)

had been called

Source Code

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