summaryrefslogtreecommitdiff
path: root/sample/observ.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/observ.rb')
-rw-r--r--sample/observ.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/sample/observ.rb b/sample/observ.rb
index 72e5178..061e3c6 100644
--- a/sample/observ.rb
+++ b/sample/observ.rb
@@ -8,10 +8,10 @@ class Tick
def initialize
Thread.start do
loop do
- sleep 0.999
- now = Time.now
- changed
- notify_observers(now.hour, now.min, now.sec)
+ sleep 0.999
+ now = Time.now
+ changed
+ notify_observers(now.hour, now.min, now.sec)
end
end
end