Top Level Namespace
Defined Under Namespace
Modules: NswebDeployment
Instance Method Summary collapse
Instance Method Details
#remote_file_exists?(filename) ⇒ Boolean
10 11 12 |
# File 'lib/nsweb_deployment.rb', line 10 def remote_file_exists?(filename) capture("[ -f #{filename} ] || echo '1'").empty? end |