Class: Cassowary::LinearEquation

Inherits:
LinearConstraint show all
Defined in:
lib/constraint/linear_constraint.rb

Instance Attribute Summary

Attributes inherited from LinearConstraint

#expression

Attributes inherited from Constraint

#strength, #weight

Instance Method Summary collapse

Methods inherited from Constraint

#edit_constraint?, #expression, #inequality?, #required?, #stay_constraint?

Instance Method Details

#inspectObject



9
10
11
# File 'lib/constraint/linear_constraint.rb', line 9

def inspect
  "#{strength.inspect}(#{expression.inspect}=0)"
end