aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2014-02-21 22:37:34 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2014-02-21 22:37:34 +0100
commit2e07c61b3659dc09c77faee47d43a1e24aa5a289 (patch)
tree6d44371bbba84b074f887283f4ce057a8d744a29 /poll.rb
parenta76c6cb9f7d316d219475504d26214b9e7b3e694 (diff)
no more KCODE with ruby>=1.9 (thanks to IOhannes m zmölnig)
Diffstat (limited to 'poll.rb')
-rw-r--r--poll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll.rb b/poll.rb
index 269fcb5..b323767 100644
--- a/poll.rb
+++ b/poll.rb
@@ -23,7 +23,7 @@ require "time"
require "pollhead"
require "timepollhead"
-$KCODE = "u"
+$KCODE = "u" if RUBY_VERSION < '1.9.0'
class String
@@htmlidcache = {}
@@htmlidncache = {}