mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unused variable to suppress warning (#2388) [ci skip]
``` sample/observ.rb:30: warning: assigned but unused variable - clock ```
This commit is contained in:
parent
97c377e2b1
commit
9b330200f8
1 changed files with 1 additions and 1 deletions
|
@ -27,5 +27,5 @@ class Clock
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
clock = Clock.new(Tick.new)
|
Clock.new(Tick.new)
|
||||||
sleep
|
sleep
|
||||||
|
|
Loading…
Add table
Reference in a new issue