Method: Path.~

Defined in:
lib/path.rb

.~(user = '') ⇒ Object Also known as: home

A Path to the home directory of user (defaults to the current user). The form with an argument (user) is not supported on Windows.



33
34
35
# File 'lib/path.rb', line 33

def ~(user = '')
  new("~#{user}")
end