Sha256: 8f1c91ea17c8007181f721b4839185a5c03eee599402b0569103ce2067cb7da4

Contents?: true

Size: 159 Bytes

Versions: 7

Compression:

Stored size: 159 Bytes

Contents

module Ravensat
  class AndNode < OprNode
    def &(object)
      @children.append object
      self
    end

    def to_dimacs
      " 0\n"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ravensat-1.0.6 lib/ravensat/ast/and_node.rb
ravensat-1.0.5 lib/ravensat/ast/and_node.rb
ravensat-1.0.4 lib/ravensat/ast/and_node.rb
ravensat-1.0.3 lib/ravensat/ast/and_node.rb
ravensat-1.0.2 lib/ravensat/ast/and_node.rb
ravensat-1.0.1 lib/ravensat/ast/and_node.rb
ravensat-1.0.0 lib/ravensat/ast/and_node.rb