Module: Predicate::NadicBool
Constant Summary
Constants included from Expr
Instance Method Summary collapse
Methods included from Expr
#!, #&, #and_split, #constant_variables, #contradiction?, #qualify, #rename, #sexpr, #tautology?, #to_proc, #to_ruby_code, #to_sequel, #|
Methods included from Factory
#and, #between, #comp, #contradiction, #from_hash, #identifier, #in, #literal, #native, #not, #or, #qualified_identifier, #tautology
Instance Method Details
#free_variables ⇒ Object
9 10 11 12 13 |
# File 'lib/predicate/nodes/nadic_bool.rb', line 9 def free_variables @free_variables ||= sexpr_body.inject([]){|list,term| list | term.free_variables } end |
#priority ⇒ Object
5 6 7 |
# File 'lib/predicate/nodes/nadic_bool.rb', line 5 def priority 60 end |