examples/i18n/sr-Latn/lib/calculator.rb in cucumber-3.0.0.pre.1 vs examples/i18n/sr-Latn/lib/calculator.rb in cucumber-3.0.0.pre.2
- old
+ new
@@ -2,11 +2,11 @@
def push(n)
@args ||= []
@args << n
end
-
+
def add
- @args.inject(0){|n,sum| sum+=n}
+ @args.inject(0){|n,sum| sum + n}
end
end
\ No newline at end of file