xray
5 6 7 8 9
# File 'lib/motion-xray/views/xray_window.rb', line 5 def motionEnded(motion, withEvent:event) if event.type == UIEventSubtypeMotionShake Xray.toggle end end