Method: Capistrano::Deploy::RemoteDependency#writable

Defined in:
lib/capistrano/recipes/deploy/remote_dependency.rb

#writable(path, options = {}) ⇒ Object



27
28
29
30
31
# File 'lib/capistrano/recipes/deploy/remote_dependency.rb', line 27

def writable(path, options={})
  @message ||= "`#{path}' is not writable"
  try("test -w #{path}", options)
  self
end