Class: Update

Inherits:
Array show all
Defined in:
lib/tasks/update.rb

Instance Method Summary collapse

Methods inherited from Array

#add, #execute, #to_html

Instance Method Details

#updateObject



5
6
7
# File 'lib/tasks/update.rb', line 5

def update
  self .add 'svn update' if File.exists?('.svn') && Internet.available?
end