Method: Perception::SeeSession#slow!
- Defined in:
- lib/perception/perception_main.rb
#slow!(speed = 1) ⇒ Object
Slows down output to readable speed. The speed depends on the length and the complexity of the printing. You can adjust the speed with the parameter:
-
slow! 1 –> same as slow!
-
slow! 2 –> slow, but double speed
-
slow! 0.5 –> even slower
-
slow! nil –> full speed (same as fast!)
71 72 73 74 |
# File 'lib/perception/perception_main.rb', line 71 def slow!(speed=1) @speed = speed nil end |