lib/setup.rb in dev_tasks-0.0.155 vs lib/setup.rb in dev_tasks-0.0.156
- old
+ new
@@ -1,8 +1,8 @@
+require_relative('./commandarray.rb')
+class Setup < CommandArray
-class Setup < Array
-
def update
if(defined?(DEV_TASKS))
DEV_TASKS[:svn_exports].each{|k,v|
if(!File.exists?("#{Environment.dev_root}/dep/#{k}"))
dest="#{Environment.dev_root}/dep/#{k}"
@@ -11,9 +11,6 @@
end
}
end
end
- def add command
- self << command if(!include?(command))
- end
end
\ No newline at end of file