Class: Lxc::Pathname
- Inherits:
-
Pathname
- Object
- Pathname
- Lxc::Pathname
- Defined in:
- lib/elecksee/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
-
#join(*args) ⇒ String
Join arguments using ::File.join.
Instance Method Details
#join(*args) ⇒ String
Join arguments using ::File.join
18 19 20 |
# File 'lib/elecksee/lxc.rb', line 18 def join(*args) self.class.new(::File.join(self.to_path, *args)) end |