Sha256: f0d35da0e86df33e10a7c2ed5756632e24651ac1b9643924e502c7217f264384
Contents?: true
Size: 242 Bytes
Versions: 5
Compression:
Stored size: 242 Bytes
Contents
class AddThenMultiplyCommand prepend EasyCommand def call sum = assert_subcommand AdditionCommand, @a, @b assert_subcommand MultiplicationCommand, sum, @c end def initialize(a,b,c) @a = a @b = b @c = c end end
Version data entries
5 entries across 5 versions & 1 rubygems