Class: Reflex::Constraint

Inherits:
Object
  • Object
show all
Includes:
HasTags, Xot::Setter
Defined in:
lib/reflex/constraint.rb

Instance Method Summary collapse

Methods included from HasTags

#clear_tags, #tag, #tag=, #tags, #untag

Instance Method Details

#pinsObject



15
16
17
# File 'lib/reflex/constraint.rb', line 15

def pins()
  [get_pin(0), get_pin(1)]
end

#viewsObject



19
20
21
# File 'lib/reflex/constraint.rb', line 19

def views()
  pins.map(&:view)
end