Method: C::Variable#involves?

Defined in:
lib/csquare.rb

#involves?(literal_or_variables) ⇒ Boolean

Returns:

  • (Boolean)


632
633
634
# File 'lib/csquare.rb', line 632

def involves? literal_or_variables
  literal_or_variables.is_a?(Array) ? literal_or_variables.include?(self.name) : literal_or_variables == self.name
end