textToggle

textToggle(cmd1,sleep1,cmd2,sleep2)
Instance Public methods

textToggle รข This method is invoked repeatedly to invoke two commands at periodic intervals. It normally reschedules itself after each execution but if an error occurs (e.g. because the window was deleted) then it doesn't reschedule itself.

Arguments: cmd1 - Command to execute when method is called. sleep1 - Ms to sleep after executing cmd1 before executing cmd2. cmd2 - Command to execute in the next invocation of this method. sleep2 - Ms to sleep after executing cmd2 before executing cmd1 again.

doc_ruby_on_rails
2015-04-24 07:58:29
Comments
Leave a Comment

Please login to continue.