summaryrefslogtreecommitdiff
path: root/sample/drb/dbiff.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/dbiff.rb')
-rw-r--r--sample/drb/dbiff.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/drb/dbiff.rb b/sample/drb/dbiff.rb
index 8faef50b07d..b50edc08982 100644
--- a/sample/drb/dbiff.rb
+++ b/sample/drb/dbiff.rb
@@ -18,13 +18,13 @@ class Biff
def run
last = Time.now
while true
- begin
+ begin
sleep(@interval)
current = File::mtime(@filename)
if current > last
changed
begin
- notify_observers(@filename, current)
+ notify_observers(@filename, current)
rescue Error
end
last = current