Class: Reflex::Constraint
- Inherits:
-
Object
- Object
- Reflex::Constraint
- Includes:
- HasTags, Xot::Setter
- Defined in:
- lib/reflex/constraint.rb
Direct Known Subclasses
ChaseConstraint, LinkConstraint, SnapConstraint, WheelConstraint
Instance Method Summary collapse
Methods included from HasTags
#clear_tags, #tag, #tag=, #tags, #untag
Instance Method Details
#pins ⇒ Object
15 16 17 |
# File 'lib/reflex/constraint.rb', line 15 def pins() [get_pin(0), get_pin(1)] end |
#views ⇒ Object
19 20 21 |
# File 'lib/reflex/constraint.rb', line 19 def views() pins.map(&:view) end |