ok, here it is .... try the below code... (note: I might be a nong....it might be a scope issue for new threads)
--------------------------------------------
class WayOutside
def sayBang
debug "bang!"
end
end
class Outside
@baba = WayOutside.new()
def runTread
Thread.new do
@baba.sayBang
loop do
debug "testing"
sleep (rand(30)+10)/10
end
end
end
end
Shoes.app do
Outside.new.runTread
para "testing"
end
----------------------------------
Etienne
