Все очень просто:
1) Подключаем
1) Подключаем
include System::Threading2) Собственно сам таймер
@timer=System::Windows::Threading::DispatcherTimer.new @timer.Interval=System::TimeSpan.new(0, 0, 1);#1 секунда @timer.Tick{some_function} @timer.Start3) Чтобы остановить
@timer.StopВот и все.