vendor/assets/src/medias/rubies/examples/schedule.rb in atome-0.5.3.2 vs vendor/assets/src/medias/rubies/examples/schedule.rb in atome-0.5.3.4
- old
+ new
@@ -1,10 +1,13 @@
# frozen_string_literal: true
_alarm_format = '2022,11,27,12,06,0'
time_to_run = Time.now + 3
-puts 'event schedule'
-a = element
+t=text ({ data: "an event schedule will create a box" })
+t.width(555)
+a = element({})
a.schedule(time_to_run) do
puts 'event executed'
+ t.delete(true)
+ grab(:view).box #FIXME: box doesnt work we must use a grab , plaese fix
end