Method: Specinfra::Command::Darwin::Base::User.get_home_directory
- Defined in:
- lib/specinfra/command/darwin/base/user.rb
.get_home_directory(user) ⇒ Object
11 12 13 |
# File 'lib/specinfra/command/darwin/base/user.rb', line 11 def get_home_directory(user) "finger #{escape(user)} | grep -E '^Directory' | awk '{ print $2 }'" end |