Class: Lxc::Pathname
- Inherits:
-
Pathname
- Object
- Pathname
- Lxc::Pathname
- Defined in:
- lib/vagabond/cookbooks/lxc/libraries/lxc.rb
Overview
Pathname#join does not act like File#join when joining paths that begin with ‘/’, and that’s dumb. So we’ll make our own Pathname, with a #join that uses File
Instance Method Summary collapse
Instance Method Details
#join(*args) ⇒ Object
74 75 76 |
# File 'lib/vagabond/cookbooks/lxc/libraries/lxc.rb', line 74 def join(*args) self.class.new(::File.join(self.to_path, *args)) end |