Class: Pathname
Overview
:nodoc:all
Instance Method Summary collapse
-
#/(path) ⇒ Pathname
Append path segments and expand to absolute path.
Instance Method Details
#/(path) ⇒ Pathname
Append path segments and expand to absolute path
file = Pathname(Dir.pwd) / "subdir1" / :subdir2 / "filename.ext"
12 13 14 |
# File 'lib/shopify/extlib/pathname.rb', line 12 def /(path) (self + path). end |