class Proc

Attributes

observed_properties[R]

Public Instance Methods

observes(*properties) click to toggle source
# File lib/motion-loco/proc.rb, line 9
def observes(*properties)
  properties.each {|property|
    self.observed_properties << property
  }
  self
end
property(*properties) click to toggle source
# File lib/motion-loco/proc.rb, line 16
def property(*properties)
  properties.each {|property|
    self.observed_properties << property
  }
  self
end