Class: Update

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

Instance Method Summary collapse

Methods inherited from Array

#add, #execute, #to_html

Instance Method Details

#updateObject



3
4
5
# File 'lib/update.rb', line 3

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