Class: Pathname
- Extended by:
- ActiveSupport::CoreExtensions::Pathname::CleanWithin
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/core_ext/pathname.rb,
lib/gems/extlib-0.9.9/lib/extlib/pathname.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#/(path) ⇒ Pathname
Append path segments and expand to absolute path.
Methods included from ActiveSupport::CoreExtensions::Pathname::CleanWithin
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/gems/extlib-0.9.9/lib/extlib/pathname.rb', line 12 def /(path) (self + path). end |