class RoboticArm::ComponentUpDown
Public Instance Methods
down(seconds=0)
click to toggle source
# File lib/robotic-arm.rb, line 261 def down(seconds=0) return if @active and @moving == :down activate(@switch, @downval, seconds) @moving = :down end
up(seconds=0)
click to toggle source
# File lib/robotic-arm.rb, line 255 def up(seconds=0) return if @active and @moving == :up activate(@switch, @upval, seconds) @moving = :up end