Class: Folio::Pathname

Inherits:
Object
  • Object
show all
Defined in:
lib/folio/path.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, delegator) ⇒ Pathname

Returns a new instance of Pathname.



27
28
29
# File 'lib/folio/path.rb', line 27

def initialize(path, delegator)

end

Instance Method Details

#cdObject



31
32
33
34
# File 'lib/folio/path.rb', line 31

def cd
  delegator.replace(Directory.new(to_s))
  delegator.cd()
end