Method: Pathname#+

Defined in:
lib/unixcmd/aux.rb

#+(pathname) ⇒ Object



34
35
36
37
38
# File 'lib/unixcmd/aux.rb', line 34

def + (pathname)
    return old_plus pathname if pathname.class != Pathname || to_s != '~' || pathname.to_s != '..'

    expand_path.old_plus pathname
end