Sha256: 14b65d32bd9a7269d28a541b2c6c0f87b543fb207ac3eeae9eb5ea655d8ae352
Contents?: true
Size: 180 Bytes
Versions: 3
Compression:
Stored size: 180 Bytes
Contents
class Calculador def push(n) @args ||= [] @args << n end def add @args.inject(0){|n,sum| sum + n} end def divide @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/es/lib/calculador.rb |
cucumber-3.0.0 | examples/i18n/es/lib/calculador.rb |
cucumber-3.0.0.pre.2 | examples/i18n/es/lib/calculador.rb |