summaryrefslogtreecommitdiff
path: root/sample/observ.rb
diff options
context:
space:
mode:
authorKenichi Kamiya <kachick1@gmail.com>2019-08-19 18:16:45 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-19 18:16:45 +0900
commit9b330200f8e180ca393cac25f811f6194990aaa4 (patch)
tree7452c2379da6e7651bfc0642ba09515a5f6b8c3c /sample/observ.rb
parent97c377e2b1954b977b015f11183b201ad4a88bd6 (diff)
Remove unused variable to suppress warning (#2388) [ci skip]
``` sample/observ.rb:30: warning: assigned but unused variable - clock ```
Diffstat (limited to 'sample/observ.rb')
-rw-r--r--sample/observ.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/observ.rb b/sample/observ.rb
index a7ea452..ef4a9f6 100644
--- a/sample/observ.rb
+++ b/sample/observ.rb
@@ -27,5 +27,5 @@ class Clock
end
end
-clock = Clock.new(Tick.new)
+Clock.new(Tick.new)
sleep