lib/easystats.rb in easystats-0.0.4 vs lib/easystats.rb in easystats-0.0.5
- old
+ new
@@ -1,5 +1,5 @@
- class Object
+ class Array
# take in an array of numbers and calculate the sum
def sum
data = self
sum_of_numbers = 0
- old
+ new