examples/i18n/he/lib/calculator.rb in cucumber-3.0.0.pre.1 vs examples/i18n/he/lib/calculator.rb in cucumber-3.0.0.pre.2
- old
+ new
@@ -4,10 +4,10 @@
@args ||= []
@args << n
end
def חבר
- @args.inject(0){|n,sum| sum+=n}
+ @args.inject(0){|n,sum| sum + n}
end
def חלק
@args[0].to_f / @args[1].to_f
end