Sha256: f3bd6c57a8bae0ac6d1bd31b601d29c6ec177b059b90611304f30444a42b5bb1
Contents?: true
Size: 254 Bytes
Versions: 3
Compression:
Stored size: 254 Bytes
Contents
#!/usr/bin/env ruby require 'exalted_math/node/node' require 'exalted_math/node/operator' module ExaltedMath class Node class Add < Operator def value(context={}) left.value(context) + right.value(context) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
exalted_math-0.2.2 | lib/exalted_math/node/add.rb |
exalted_math-0.2.1 | lib/exalted_math/node/add.rb |
exalted_math-0.2.0 | lib/exalted_math/node/add.rb |