Module: Cd

Extended by:
Cd
Included in:
Cd
Defined in:
lib/cd.rb,
lib/cd/version.rb

Defined Under Namespace

Modules: Proxy

Constant Summary collapse

VERSION =
"0.1.0".freeze

Instance Method Summary collapse

Instance Method Details

#cd(path = nil) ⇒ Object


7
8
9
10
11
12
13
# File 'lib/cd.rb', line 7

def cd(path = nil)
  if !path
    Cd::Proxy
  else
    Cd::Proxy[path]
  end 
end