Class: C::Expression

Inherits:
Object
  • Object
show all
Defined in:
lib/csquare.rb

Instance Method Summary collapse

Instance Method Details

#involves?(literal_or_variables) ⇒ Boolean

Returns:

  • (Boolean)


795
796
797
# File 'lib/csquare.rb', line 795

def involves? literal_or_variables
  involves_on_left?(literal_or_variables) || involves_on_right?(literal_or_variables)
end

#prefixed_literal?Boolean

Returns:

  • (Boolean)


787
788
789
# File 'lib/csquare.rb', line 787

def prefixed_literal?
  false
end

#prefixed_variable?Boolean

Returns:

  • (Boolean)


791
792
793
# File 'lib/csquare.rb', line 791

def prefixed_variable?
  false
end