Module: Shell
- Defined in:
- lib/capistrano/modules/shell.rb
Instance Method Summary collapse
Instance Method Details
#file_exists?(file) ⇒ Boolean
3 4 5 |
# File 'lib/capistrano/modules/shell.rb', line 3 def file_exists?(file) test("[ -f #{file} ]") end |