Sha256: 6343b297c67d44d523bdbb9d85e4bf1e92b99b519d89a6dd4280d0ff5e9a06ce
Contents?: true
Size: 279 Bytes
Versions: 3
Compression:
Stored size: 279 Bytes
Contents
module Basic101 class NotOperation include Identity def initialize(expression) @expression = expression end def eval(runtime) @expression.eval(runtime).to_numeric.not end protected def state [@expression] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
basic101-0.4.0 | lib/basic101/not_operation.rb |
basic101-0.2.0 | lib/basic101/not_operation.rb |
basic101-0.1.0 | lib/basic101/not_operation.rb |