Join GitHub today
fix a bug #8
I created a backport request at bugs.ruby-lang.org: https://bugs.ruby-lang.org/issues/13484
I'm closing this PR since I could confirm the code on the SO question successfully runs with tk gem 0.1.2.
Side note: if you use Ruby 2.3 and want to use the tk gem, you need to explicitly activate the gem by calling