Your sum method totally works, but could be simplified with the power of "inject"!
	def sum(array)
		array.inject(0){|sum, x| sum +x}
	end

I like your bold decision to not use ()!