Sha256: 287a77c6d677227978a5baddbd2acbb6d945d046b34d7fe2df9b9da104735a5c
Contents?: true
Size: 202 Bytes
Versions: 3
Compression:
Stored size: 202 Bytes
Contents
# encoding: utf-8 class Calculator def push(n) @args ||= [] @args << n end def חבר @args.inject(0){|n,sum| sum + n} end def חלק @args[0].to_f / @args[1].to_f end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber-3.0.1 | examples/i18n/he/lib/calculator.rb |
cucumber-3.0.0 | examples/i18n/he/lib/calculator.rb |
cucumber-3.0.0.pre.2 | examples/i18n/he/lib/calculator.rb |