Sha256: d3664f33e4f10eab05dbd779608b86966030e3629db9ed65ca94e9b4172b5faf

Contents?: true

Size: 244 Bytes

Versions: 6

Compression:

Stored size: 244 Bytes

Contents

class Predicate
  module Not
    include Expr

    def operator_symbol
      :'!'
    end

    def priority
      90
    end

    def !
      last
    end

    def free_variables
      @free_variables ||= last.free_variables
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
predicate-1.2.0 lib/predicate/nodes/not.rb
predicate-1.1.3 lib/predicate/nodes/not.rb
predicate-1.1.2 lib/predicate/nodes/not.rb
predicate-1.1.1 lib/predicate/nodes/not.rb
predicate-1.1.0 lib/predicate/nodes/not.rb
predicate-1.0.0 lib/predicate/nodes/not.rb